faster JSON parsing: json2.js vs json3.js
So I've been looking for a faster way to parse large JSON files in Illustrator scripting and I think I may have found a solution if anyone else is ever looking for this:
Instead of the standard json2.js (https://github.com/douglascrockford/JSON-js) I came across json3.js (https://github.com/bestiejs/json3) as a drop-in replacement.
In my use case (5mb+ JSON files), JSON.parse() is ~60x faster (5 seconds vs 5 mins) - seems to just be a more modern and faster implementation.
Only issue I've seen so far is a bit of funkiness with how it handles escaped non-Ascii characters.
Anybody else have experience with these libraries or know of any issues that might come up switching from json2 to json3?
