Earlier quoted context omitted.
Can JSON compare with line-based data, which many original UNIX utilities seem to target. JSON's design assumes the user can read the entire file into memory. It's really easy to exhaust resources with JSON. And fast, crash-proof JSON parsers become more challenging to write. Whereas it's not nearly as easy to exhaust memory with line-based data processing nor to crash utilities that read line-by-line, e.g., sed. If…
> JSON's design assumes the user can read the entire file into memory It doesn't. I have personally written JSON parsing code that runs on embedded systems with less RAM than the size of the file.
I have too. I used shell utilities. :)
YAJL will also work.