The fact that you cannot have trailing commans in lists or dicts as in
is one of the most infuriating design choices of all time!!!
3,
at:
{
"asdf": [
1,
2,
3,
]
}
echo '[{"a": 1, "b": 2}, {"b": 3}]' | jq '.[] | select(.a) | .a'
1
Articles by others on the same topic
There are currently no matching articles.