jq ignore missing attribute
ID: jq-ignore-missing-attribute
echo '[{"a": 1, "b": 2}, {"b": 3}]' | jq '.[] | select(.a) | .a'
1
New to topics? Read the docs here!
echo '[{"a": 1, "b": 2}, {"b": 3}]' | jq '.[] | select(.a) | .a'
1
New to topics? Read the docs here!