Hacker News new | ask | show | jobs
by peterohler 1520 days ago
For me OjG (https://github.com/ohler55/ojg) has been great. I regularly use it on files that can not be loaded into memory. The best JSON file format for multiple record is one JSON document per record all in the same file. OjG doesn't care if they are on different lines. It is fast (https://github.com/ohler55/compare-go-json) and uses a fairly complete JSONPath implementation for searches. Similar to jq but using JSONPath instead of a proprietary query language.

I am biased though as I wrote OjG to handle what other tools were not able to do.

1 comments

Are you able to calculate aggregates, like an average?