On Jan 2, 2011, at 3:36 PM, Aparajita Fishman wrote:

>> With a little talk lately about JSON and some work I've been doing between 
>> RoR and Active4d, I've updated my jsonParseSimple methods. Don't think I 
>> changed anything except better variable names and some 
>> comments/documentation - I did add real arrays.
>> 
>> https://gist.github.com/762698
> 
> Great stuff! I'll roll this into the a4d.json library.

Glad to contribute. 

I guess I forgot to mention another basic limitation - it does not like 
ill-formed JSON. It will die a horrible death with a complex syntax error in 
the middle of what could be a couple thousand character, one line execute 
statement. That is what the commented out debug textarea is for (to help to 
find the error in the JSON)

I've been using it for over year, mainly to serialize nested collections. I 
think I have the functionally down - I just can't trap errors on bad JSON.

Steve

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to