Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / docs / output / Ext.JSON.js
index 88b2112..5fd340b 100644 (file)
@@ -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": "<p>The JSON string</p>\n",
-            "name": "json"
-          },
-          {
-            "type": "Boolean",
-            "optional": true,
-            "doc": "<p>(optional) Whether to return null or throw an exception if the JSON is invalid.</p>\n",
-            "name": "safe"
-          }
-        ],
-        "name": "decode",
-        "owner": "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",
-        "linenr": 129,
-        "return": {
-          "type": "Object",
-          "doc": "<p>The resulting object</p>\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": "<p>The variable to encode</p>\n",
-            "name": "o"
-          }
-        ],
-        "name": "encode",
-        "owner": "Ext.JSON",
-        "doc": "<p>Encodes an Object, Array or other value</p>\n",
-        "linenr": 112,
-        "return": {
-          "type": "String",
-          "doc": "<p>The JSON string</p>\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": "<p>The Date to encode</p>\n",
-            "name": "d"
-          }
-        ],
-        "name": "encodeDate",
-        "owner": "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",
-        "linenr": 91,
-        "return": {
-          "type": "String",
-          "doc": "<p>The string literal to use in a JSON string.</p>\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": "<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",
-  "mixedInto": [
-
-  ],
-  "linenr": 1,
-  "xtypes": [
-
-  ],
-  "html_filename": "JSON.html",
-  "extends": null
-});
\ 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