Re: JSON and euphoria
- Posted by DerekParnell (admin) Apr 27, 2010
- 1713 views
petelomax said...
This has piqued my interest; I would be mildly interested in helping out where I can, but the devil in the details here is how one might hold nested associative arrays.
I started a JSON module sometime back. I can dig it out and finish it off, if there's an interest.
In general, I represented JSON data like this ...
Data :: Object | Boolean | Number | Text | Array String :: { integer, ... } Object :: { String , Data } Boolean :: { 'b', integer } Number :: { 'n', atom } Text :: { 't', String } Array :: { 'a', { Object, ... }}