3 ms·
Rust's serde-json will iterate over a file of JSON without difficulty, and will write one from an iterative process without building it all in memory. I routine
by Animats 4y ago
Rust's serde-json will iterate over a file of JSON without difficulty, and will write one from an iterative process without building it all in memory.
I routinely create and read multi-gigabyte JSON files. They're debug dumps of the the scene my metaverse viewer is looking at.
Streaming from large files was routine for XML, but for some reason, JSON users don't seem to work with streams much.