4 ms·
as far as i can tell, jq doesn't do flattening .
by webo 7y ago
as far as i can tell, jq doesn't do flattening .
- lucb1e 7y agoMaybe GP meant that jq can do selection as well, i.e. that grepping is redundant after jq. But jq is much more complicated to learn and grep works on all inputs (not just json), so it makes a lot more sense to learn and use grep properly.
- pstuart 7y agoNot built in, but @jolmg posted a script here which does the needful.