> In my experience with nfJson , using alines() to split the string by control
>characters ( ,;[] " ) and then work in chunks was the key to speed.. I think
> any big string manipulation should be tuned for each case..
Yeah I did something similar in my original parser. Can't remember now but ran into issues when the data contains some of those. Quotes in particular because JSON can use either ' or " as property and value delimiters and the other can appear inside. Single quotes are not required to be escaped in double quoted strings and vice versa if I recall.
>Anyway, it's always good to share this little findings. !
Yeah this was great - your's and Christof's suggestions are great improvements ontop of the original approaches I came up with which already were a 10X improvement. these additional 2 are another 10x!
+++ Rick ---