Lazy.js JSON Parsing Demo

Enter a big ol' blob of JSON data (arrays only) into the <textarea> below and click Start. Lazy.js will parse as much of the JSON as possible, asynchronously. (Tip: try putting some garbage in the middle to see how Lazy can parse the beginning even if the overall string is invalid.)

Click Cancel at any point to stop parsing.

Example valid JSON:


            Example invalid JSON:

        
JSON

Optionally, also transform the data:

Example:
filter(function(data) { return typeof data === 'string'; })
Transform
Back to the Lazy.js site