On Aug 18, 2011, at 11:57 AM, Michael Check wrote:

> I know Steve Alex had some A4D scripts, and Pelican Engineering has a
> JSON component that I was thinking about using to build an A4D lib (I
> don't know if the lib is really necessary).

I had to modify my jsonParseSimple routine for v11. Small regex tweaks and 
using:
        $foo[[$idx]] := $char 
        (setting a character in  a string does not work very well with unicode).

The v11 version is at:

https://gist.github.com/1009100


Also works with v4.5

This technique is more in line with the original javascript json parse routine 
(bunch or regex replaces to create executable code, that is then executed to 
create the collection).

Richard Carpenters C# conversion is similar to one I did in C++.

I already responded to Michael before I discovered that Apple Mail decided to 
use my gmail account as my default for some reason and a post did not show up.

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