11 ms·
Regarding JSON, this page says: > Performance is not good when dataset is huge. Program usually needs to load all data into memory first. This is just downrig
by udp 8y ago
Regarding JSON, this page says:
> Performance is not good when dataset is huge. Program usually needs to load all data into memory first.
This is just downright false. There are plenty of SAX-style JSON parsers.
- occamrazor 8y agoYes. This is a surprising claim in the IP, especially after saying that XML has high performance.
- soasme 8y agoI removed performance piece mostly because it's meaningless discussing performance without in the context of designated implementation and benchmarks. Above catch is my point so I tweaked the words to `Performance is not good generally when dataset is huge unless you use a library support streaming parsing or writing.`
- laumars 8y agoI think it's point is that JSON isn't a great streaming format; which it isn't. That's not to say there aren't streaming decoders available or workarounds to allow non-streaming decoders to emulate streaming behaviour. However generally JSON parsers require the full JSON object before they can decode.