Fix #6913 - add more documentation to code
[roojs1] / docs / symbols / Roo.util.JSON.json
1 {
2   "name" : "Roo.util.JSON",
3   "augments" : [],
4   "childClasses" : {  },
5   "tree_children" : [],
6   "tree_parent" : [],
7   "desc" : "Modified version of Douglas Crockford\"s json.js that doesn\"t\nmess with the Object prototype \nhttp://www.json.org/js.html",
8   "isSingleton" : false,
9   "isStatic" : true,
10   "isBuiltin" : false,
11   "isAbstract" : false,
12   "isBuilderTop" : false,
13   "memberOf" : "JSON",
14   "example" : "",
15   "deprecated" : "",
16   "since" : "",
17   "see" : "",
18   "params" : [],
19   "returns" : [],
20   "throws" : "",
21   "requires" : "",
22   "config" : [],
23   "methods" : [
24     {
25       "name" : "encode",
26       "type" : "function",
27       "desc" : "Encodes an Object, Array or other value",
28       "sig" : "(o)",
29       "static" : false,
30       "memberOf" : "",
31       "isStatic" : false,
32       "isConstructor" : false,
33       "isPrivate" : false,
34       "example" : "",
35       "deprecated" : "",
36       "since" : "",
37       "see" : "",
38       "exceptions" : "",
39       "requires" : "",
40       "params" : [
41         {
42           "name" : "o",
43           "type" : "Mixed",
44           "desc" : "The variable to encode",
45           "isOptional" : false
46         }
47       ],
48       "returns" : [
49         {
50           "name" : "",
51           "type" : "String",
52           "desc" : "The JSON string"
53         }
54       ]
55     },
56     {
57       "name" : "decode",
58       "type" : "function",
59       "desc" : "Decodes (parses) a JSON string to an object. If the JSON is invalid, this function throws a SyntaxError.",
60       "sig" : "(json)",
61       "static" : false,
62       "memberOf" : "",
63       "isStatic" : false,
64       "isConstructor" : false,
65       "isPrivate" : false,
66       "example" : "",
67       "deprecated" : "",
68       "since" : "",
69       "see" : "",
70       "exceptions" : "",
71       "requires" : "",
72       "params" : [
73         {
74           "name" : "json",
75           "type" : "String",
76           "desc" : "The JSON string",
77           "isOptional" : false
78         }
79       ],
80       "returns" : [
81         {
82           "name" : "",
83           "type" : "Object",
84           "desc" : "The resulting object"
85         }
86       ]
87     }
88   ],
89   "events" : []
90 }