Streaming JSON

This demo downloads a streaming JSON file, which is just JSON objects separated by newlines. When combined with streaming, you can deal with objects as they arrive, rather than waiting on the whole response.

This uses the fetch API, which is supported in Chrome & Firefox, but only Chrome supports streams right now.

Articles on streams