Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
oftenwrong
· 7y ago · 0 comments
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
Comments
[–]
cryptonector
7y ago
jq can do something like that too! Check out its --stream option.
[–]
pimlottc
7y ago
Oh, this sounds handy, though i can’t imagine it’d be as performant for this particular case.