Hacker News new | ask | show | jobs
by oftenwrong 2752 days ago
Another option is to use a tool like 'gron' to convert the JSON into a shell-friendly line-oriented format. This makes the rest straightforward.

https://github.com/tomnomnom/gron

2 comments

jq can do something like that too! Check out its --stream option.
Oh, this sounds handy, though i can’t imagine it’d be as performant for this particular case.