X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..HEAD:/docs/output/Ext.JSON.js diff --git a/docs/output/Ext.JSON.js b/docs/output/Ext.JSON.js index 88b21123..5fd340bf 100644 --- a/docs/output/Ext.JSON.js +++ b/docs/output/Ext.JSON.js @@ -1,149 +1 @@ -Ext.data.JsonP.Ext_JSON({ - "allMixins": [ - - ], - "deprecated": null, - "docauthor": null, - "members": { - "cfg": [ - - ], - "method": [ - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "JSON.html#Ext-JSON-method-decode", - "shortDoc": "Decodes (parses) a JSON string to an object. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/misc/JSON.js", - "private": false, - "params": [ - { - "type": "String", - "optional": false, - "doc": "

The JSON string

\n", - "name": "json" - }, - { - "type": "Boolean", - "optional": true, - "doc": "

(optional) Whether to return null or throw an exception if the JSON is invalid.

\n", - "name": "safe" - } - ], - "name": "decode", - "owner": "Ext.JSON", - "doc": "

Decodes (parses) a JSON string to an object. If the JSON is invalid, this function throws a SyntaxError unless the safe option is set.

\n", - "linenr": 129, - "return": { - "type": "Object", - "doc": "

The resulting object

\n" - }, - "html_filename": "JSON.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "JSON.html#Ext-JSON-method-encode", - "shortDoc": "Encodes an Object, Array or other value ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/misc/JSON.js", - "private": false, - "params": [ - { - "type": "Mixed", - "optional": false, - "doc": "

The variable to encode

\n", - "name": "o" - } - ], - "name": "encode", - "owner": "Ext.JSON", - "doc": "

Encodes an Object, Array or other value

\n", - "linenr": 112, - "return": { - "type": "String", - "doc": "

The JSON string

\n" - }, - "html_filename": "JSON.html" - }, - { - "deprecated": null, - "alias": null, - "protected": false, - "tagname": "method", - "href": "JSON.html#Ext-JSON-method-encodeDate", - "shortDoc": "Encodes a Date. ...", - "static": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/misc/JSON.js", - "private": false, - "params": [ - { - "type": "Date", - "optional": false, - "doc": "

The Date to encode

\n", - "name": "d" - } - ], - "name": "encodeDate", - "owner": "Ext.JSON", - "doc": "

Encodes a Date. This returns the actual string which is inserted into the JSON string as the literal expression.\nThe returned value includes enclosing double quotation marks.

\n\n\n

The default return format is \"yyyy-mm-ddThh:mm:ss\".

\n\n\n

To override this:

\n\n\n
     Ext.JSON.encodeDate = function(d) {\n     return d.format('\"Y-m-d\"');\n     };\n     
\n\n", - "linenr": 91, - "return": { - "type": "String", - "doc": "

The string literal to use in a JSON string.

\n" - }, - "html_filename": "JSON.html" - } - ], - "property": [ - - ], - "cssVar": [ - - ], - "cssMixin": [ - - ], - "event": [ - - ] - }, - "singleton": true, - "alias": null, - "superclasses": [ - - ], - "protected": false, - "tagname": "class", - "mixins": [ - - ], - "href": "JSON.html#Ext-JSON", - "subclasses": [ - - ], - "static": false, - "author": null, - "component": false, - "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/misc/JSON.js", - "private": false, - "alternateClassNames": [ - - ], - "name": "Ext.JSON", - "doc": "

Modified version of Douglas Crockford\"s json.js that doesn\"t\nmess with the Object prototype\nhttp://www.json.org/js.html

\n", - "mixedInto": [ - - ], - "linenr": 1, - "xtypes": [ - - ], - "html_filename": "JSON.html", - "extends": null -}); \ No newline at end of file +Ext.data.JsonP.Ext_JSON({"tagname":"class","html":"

Files

Modified version of Douglas Crockford's JSON.js that doesn't\nmess with the Object prototype\nhttp://www.json.org/js.html

\n
Defined By

Methods

Decodes (parses) a JSON string to an object. ...

Decodes (parses) a JSON string to an object. If the JSON is invalid, this function throws a SyntaxError unless the safe option is set.

\n

Parameters

  • json : String

    The JSON string

    \n
  • safe : Boolean (optional)

    Whether to return null or throw an exception if the JSON is invalid.

    \n

Returns

Encodes an Object, Array or other value ...

Encodes an Object, Array or other value

\n

Parameters

  • o : Object

    The variable to encode

    \n

Returns

Encodes a Date. ...

Encodes a Date. This returns the actual string which is inserted into the JSON string as the literal expression.\nThe returned value includes enclosing double quotation marks.

\n\n\n

The default return format is \"yyyy-mm-ddThh:mm:ss\".

\n\n\n

To override this:

\n\n\n
Ext.JSON.encodeDate = function(d) {\n    return Ext.Date.format(d, '\"Y-m-d\"');\n};\n     
\n\n

Parameters

  • d : Date

    The Date to encode

    \n

Returns

  • String

    The string literal to use in a JSON string.

    \n
","allMixins":[],"meta":{},"requires":[],"deprecated":null,"extends":null,"inheritable":false,"static":false,"superclasses":[],"singleton":true,"code_type":"assignment","alias":null,"statics":{"property":[],"css_var":[],"css_mixin":[],"cfg":[],"method":[],"event":[]},"subclasses":[],"uses":[],"protected":false,"mixins":[],"members":{"property":[],"css_var":[],"css_mixin":[],"cfg":[],"method":[{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.JSON","template":false,"required":null,"protected":false,"name":"decode","id":"method-decode"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.JSON","template":false,"required":null,"protected":false,"name":"encode","id":"method-encode"},{"tagname":"method","deprecated":null,"static":false,"owner":"Ext.JSON","template":false,"required":null,"protected":false,"name":"encodeDate","id":"method-encodeDate"}],"event":[]},"private":false,"component":false,"name":"Ext.JSON","alternateClassNames":[],"id":"class-Ext.JSON","mixedInto":[],"xtypes":{},"files":[{"href":"JSON3.html#Ext-JSON","filename":"JSON.js"}]}); \ No newline at end of file