Re: JSON and euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message
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, ... }}  

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu