5 ms·
Not to distract from your point, but in this specific instance I'd probably use map({title, number}) instead [ .[] | <something> ]
by bewuethr 5y ago
Not to distract from your point, but in this specific instance I'd probably use
map({title, number})
instead
[ .[] | <something> ]
- paulddraper 5y agoSide note, but one of the hardest things about jq is to realize all the operators operate on streams of values. For example, map() operates on a stream of arrays. That kind of doubling of iteration can be confusing at first.