X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/output/Ext.JSON.js diff --git a/docs/output/Ext.JSON.js b/docs/output/Ext.JSON.js new file mode 100644 index 00000000..669c3b87 --- /dev/null +++ b/docs/output/Ext.JSON.js @@ -0,0 +1,132 @@ +Ext.data.JsonP.Ext_JSON({ + "tagname": "class", + "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", + "extends": null, + "mixins": [ + + ], + "alternateClassNames": [ + + ], + "xtype": null, + "author": null, + "docauthor": null, + "singleton": true, + "private": false, + "cfg": [ + + ], + "method": [ + { + "tagname": "method", + "name": "decode", + "member": "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", + "params": [ + { + "type": "String", + "name": "json", + "doc": "

The JSON string

\n", + "optional": false + }, + { + "type": "Boolean", + "name": "safe", + "doc": "

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

\n", + "optional": true + } + ], + "return": { + "type": "Object", + "doc": "

The resulting object

\n" + }, + "private": false, + "static": false, + "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/misc/JSON.js", + "linenr": 129, + "html_filename": "JSON3.html", + "href": "JSON3.html#Ext-JSON-method-decode", + "shortDoc": "Decodes (parses) a JSON string to an object. If the JSON is invalid, this function throws a SyntaxError unless the sa..." + }, + { + "tagname": "method", + "name": "encode", + "member": "Ext.JSON", + "doc": "

Encodes an Object, Array or other value

\n", + "params": [ + { + "type": "Mixed", + "name": "o", + "doc": "

The variable to encode

\n", + "optional": false + } + ], + "return": { + "type": "String", + "doc": "

The JSON string

\n" + }, + "private": false, + "static": false, + "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/misc/JSON.js", + "linenr": 112, + "html_filename": "JSON3.html", + "href": "JSON3.html#Ext-JSON-method-encode", + "shortDoc": "

Encodes an Object, Array or other value

\n" + }, + { + "tagname": "method", + "name": "encodeDate", + "member": "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", + "params": [ + { + "type": "Date", + "name": "d", + "doc": "

The Date to encode

\n", + "optional": false + } + ], + "return": { + "type": "String", + "doc": "

The string literal to use in a JSON string.

\n" + }, + "private": false, + "static": false, + "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/misc/JSON.js", + "linenr": 91, + "html_filename": "JSON3.html", + "href": "JSON3.html#Ext-JSON-method-encodeDate", + "shortDoc": "Encodes a Date. This returns the actual string which is inserted into the JSON string as the literal expression.\nThe ..." + } + ], + "property": [ + + ], + "event": [ + + ], + "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/misc/JSON.js", + "linenr": 1, + "html_filename": "JSON3.html", + "href": "JSON3.html#Ext-JSON", + "cssVar": [ + + ], + "cssMixin": [ + + ], + "component": false, + "superclasses": [ + + ], + "subclasses": [ + + ], + "mixedInto": [ + + ], + "allMixins": [ + + ] +}); \ No newline at end of file