[PD] Announcing CouchPdb development

András Murányi muranyia at gmail.com
Sun Sep 4 17:46:24 CEST 2011


On Sat, Aug 27, 2011 at 01:00, Thomas Mayer <thomas at residuum.org> wrote:

> [...]
>
> - How should nested objects and arrays be handled? Should they be
> handled at all?
>
>
Nested objects could be just output flat along with with top-level and they
could have a property "parent" or something like that.
E.g.:
list id 1
list parent 0   <-- means it's top level (in case the first element is 1 not
0)
list name pasta
(bang on second outlet)
list id 2
list parent 1 <-- means it's a child of id 1
list name flour
list grams 250
(bang on second outlet)
list id 3
list parent 1
list name water
list grams 150
(etc...)

Arrays... I'm not sure. If it's not an array of objects, just an a simple
array of symbols/floats, isn't this possible?:
list id 1
list name family
list members Mary Joe Carl Felicity


Andras
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110904/f33ca891/attachment-0001.htm>


More information about the Pd-list mailing list