Hello Stefan,
i added a hock to the json store to manipulate the data before the marshaler 
takes care of it [1]. If you want to send your data that way, you can use that 
hock to transfer the data from your format to the usualy format needed by the 
list controller. The marshaler dosn't care about format. It just converts whats 
given...
Regards,
Martin

[1] 
http://demo.qooxdoo.org/current/apiviewer/#qx.data.store.IStoreDelegate~manipulateData

Am 05.08.2010 um 10:43 schrieb Stefan Andersson:

As far as I understand the JSON store only supports this format of a JSON file:

{
  "bytes" : [
    {
       "name" : "small",
       "size" : "10"
    },
    {
       "name" : "big",
       "size" : "20"
    }
  ]
}

It means that the column information is repeated for every item (row). That 
takes space. Not all browsers support gzip. Therefore is the following solution 
interesting:

{
  "columns" : [
    "name",
    "size"
  ],
  "rows" : [
     {"small", "10"},
     {"big", "20"}
  ]
}

It gives a much more compact structure!!!

What do you say guys? Is it difficult to implement?

Stefan
<ATT00001..txt><ATT00002..txt>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to