sync
[roojs1] / docs / symbols / Roo.data.JsonReader.json
index 8235411..745e2eb 100644 (file)
@@ -8,7 +8,7 @@
   "tree_parent" : [],
   "desc" : "Data reader class to create an Array of Roo.data.Record objects from a JSON response\nbased on mappings in a provided Roo.data.Record constructor.\n\nThe default behaviour of a store is to send ?_requestMeta=1, unless the class has recieved 'metaData' property\nin the reply previously. \n\n<p>\nExample code:\n<pre><code>\nvar RecordDef = Roo.data.Record.create([\n    {name: 'name', mapping: 'name'},     // \"mapping\" property not needed if it's the same as \"name\"\n    {name: 'occupation'}                 // This field will use \"occupation\" as the mapping.\n]);\nvar myReader = new Roo.data.JsonReader({\n    totalProperty: \"results\",    // The property which contains the total dataset size (optional)\n    root: \"rows\",                // The property which contains an Array of row objects\n    id: \"id\"                     // The property within each row object that provides an ID for the record (optional)\n}, RecordDef);\n</code></pre>\n<p>\nThis would consume a JSON file like this:\n<pre><code>\n{ 'results': 2, 'rows': [\n    { 'id': 1, 'name': 'Bill', occupation: 'Gardener' },\n    { 'id': 2, 'name': 'Ben', occupation: 'Horticulturalist' } ]\n}\n</code></pre>",
   "isSingleton" : false,
-  "isStatic" : false,
+  "isStatic" : true,
   "isBuiltin" : false,
   "isAbstract" : false,
   "isBuilderTop" : false,
       "name" : "id",
       "type" : "String",
       "desc" : "Name of the property within a row object that contains a record identifier value.",
-      "memberOf" : "Roo.data.JsonReader"
+      "memberOf" : ""
     },
     {
       "name" : "fields",
       "type" : "Array",
       "desc" : "Array of field definition objects",
-      "memberOf" : "Roo.data.JsonReader"
+      "memberOf" : ""
     },
     {
       "name" : "root",
       "type" : "String",
       "desc" : "name of the property which contains the Array of row objects.",
-      "memberOf" : "Roo.data.JsonReader"
+      "memberOf" : ""
     },
     {
       "name" : "successProperty",
       "type" : "String",
       "desc" : "Name of the property from which to retrieve the success attribute used by forms.",
-      "memberOf" : "Roo.data.JsonReader"
+      "memberOf" : ""
     },
     {
       "name" : "totalProperty",
       "type" : "String",
       "desc" : "Name of the property from which to retrieve the total number of records\nin the dataset. This is only needed if the whole dataset is not passed in one go, but is being\npaged from the remote server.",
-      "memberOf" : "Roo.data.JsonReader"
+      "memberOf" : ""
     }
   ],
   "methods" : [