Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / docs / output / Ext.JSON.js
index 669c3b8..5fd340b 100644 (file)
@@ -1,132 +1 @@
-Ext.data.JsonP.Ext_JSON({
-  "tagname": "class",
-  "name": "Ext.JSON",
-  "doc": "<p>Modified version of Douglas Crockford\"s json.js that doesn\"t\nmess with the Object prototype\nhttp://www.json.org/js.html</p>\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": "<p>Decodes (parses) a JSON string to an object. If the JSON is invalid, this function throws a SyntaxError unless the safe option is set.</p>\n",
-      "params": [
-        {
-          "type": "String",
-          "name": "json",
-          "doc": "<p>The JSON string</p>\n",
-          "optional": false
-        },
-        {
-          "type": "Boolean",
-          "name": "safe",
-          "doc": "<p>(optional) Whether to return null or throw an exception if the JSON is invalid.</p>\n",
-          "optional": true
-        }
-      ],
-      "return": {
-        "type": "Object",
-        "doc": "<p>The resulting object</p>\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": "<p>Encodes an Object, Array or other value</p>\n",
-      "params": [
-        {
-          "type": "Mixed",
-          "name": "o",
-          "doc": "<p>The variable to encode</p>\n",
-          "optional": false
-        }
-      ],
-      "return": {
-        "type": "String",
-        "doc": "<p>The JSON string</p>\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": "<p>Encodes an Object, Array or other value</p>\n"
-    },
-    {
-      "tagname": "method",
-      "name": "encodeDate",
-      "member": "Ext.JSON",
-      "doc": "<p>Encodes a Date. This returns the actual string which is inserted into the JSON string as the literal expression.\n<b>The returned value includes enclosing double quotation marks.</b></p>\n\n\n<p>The default return format is \"yyyy-mm-ddThh:mm:ss\".</p>\n\n\n<p>To override this:</p>\n\n\n<pre><code>     Ext.JSON.encodeDate = function(d) {\n     return d.format('\"Y-m-d\"');\n     };\n     </code></pre>\n\n",
-      "params": [
-        {
-          "type": "Date",
-          "name": "d",
-          "doc": "<p>The Date to encode</p>\n",
-          "optional": false
-        }
-      ],
-      "return": {
-        "type": "String",
-        "doc": "<p>The string literal to use in a JSON string.</p>\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
+Ext.data.JsonP.Ext_JSON({"tagname":"class","html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/JSON3.html#Ext-JSON' target='_blank'>JSON.js</a></div></pre><div class='doc-contents'><p>Modified version of Douglas Crockford's JSON.js that doesn't\nmess with the Object prototype\nhttp://www.json.org/js.html</p>\n</div><div class='members'><div id='m-method'><div class='definedBy'>Defined By</div><h3 class='members-title'>Methods</h3><div class='subsection'><div id='method-decode' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Ext.JSON' rel='Ext.JSON' class='definedIn docClass'>Ext.JSON</a><br/><a href='source/JSON3.html#Ext-JSON-method-decode' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.JSON-method-decode' class='name expandable'>decode</a>( <span class='pre'><a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a> json, [<a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a> safe]</span> ) : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></div><div class='description'><div class='short'>Decodes (parses) a JSON string to an object. ...</div><div class='long'><p>Decodes (parses) a JSON string to an object. If the JSON is invalid, this function throws a SyntaxError unless the safe option is set.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>json</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The JSON string</p>\n</div></li><li><span class='pre'>safe</span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a> (optional)<div class='sub-desc'><p>Whether to return null or throw an exception if the JSON is invalid.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span><div class='sub-desc'><p>The resulting object</p>\n</div></li></ul></div></div></div><div id='method-encode' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Ext.JSON' rel='Ext.JSON' class='definedIn docClass'>Ext.JSON</a><br/><a href='source/JSON3.html#Ext-JSON-method-encode' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.JSON-method-encode' class='name expandable'>encode</a>( <span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a> o</span> ) : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></div><div class='description'><div class='short'>Encodes an Object, Array or other value ...</div><div class='long'><p>Encodes an Object, Array or other value</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>o</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>The variable to encode</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span><div class='sub-desc'><p>The JSON string</p>\n</div></li></ul></div></div></div><div id='method-encodeDate' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Ext.JSON' rel='Ext.JSON' class='definedIn docClass'>Ext.JSON</a><br/><a href='source/JSON3.html#Ext-JSON-method-encodeDate' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.JSON-method-encodeDate' class='name expandable'>encodeDate</a>( <span class='pre'><a href=\"#!/api/Date\" rel=\"Date\" class=\"docClass\">Date</a> d</span> ) : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></div><div class='description'><div class='short'>Encodes a Date. ...</div><div class='long'><p>Encodes a Date. This returns the actual string which is inserted into the JSON string as the literal expression.\n<b>The returned value includes enclosing double quotation marks.</b></p>\n\n\n<p>The default return format is \"yyyy-mm-ddThh:mm:ss\".</p>\n\n\n<p>To override this:</p>\n\n\n<pre><code>Ext.JSON.encodeDate = function(d) {\n    return Ext.Date.format(d, '\"Y-m-d\"');\n};\n     </code></pre>\n\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>d</span> : <a href=\"#!/api/Date\" rel=\"Date\" class=\"docClass\">Date</a><div class='sub-desc'><p>The Date to encode</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span><div class='sub-desc'><p>The string literal to use in a JSON string.</p>\n</div></li></ul></div></div></div></div></div></div></div>","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