Yet another awk-like domain-specific language to do things from the CLI in a ridiculously short humber of character? Oh yes.
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.