JQ
From DWIKI
JSON processor
Links
Related tools
- gron
- yq
Examples
get values of just one field
jq '.[].fieldname'
or when hyphen in name
jq '.[]."field-name"'
or just
jq '.fieldname'
JSON processor
jq '.[].fieldname'
or when hyphen in name
jq '.[]."field-name"'
or just
jq '.fieldname'