On Sat, Aug 27, 2011 at 01:00, Thomas Mayer <tho...@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
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to