Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: