JQ: Difference between revisions

From DWIKI
Tony (talk | contribs)
Tag: wikieditor
Tony (talk | contribs)
mNo edit summary
Tag: wikieditor
Line 5: Line 5:
*https://jqlang.github.io/jq/
*https://jqlang.github.io/jq/
*[https://towardsdev.com/using-jq-to-fetch-key-value-from-json-output-a83ccbec2be9 some nice jq trickery]
*[https://towardsdev.com/using-jq-to-fetch-key-value-from-json-output-a83ccbec2be9 some nice jq trickery]
=Related tools=
* gron


=Examples=
=Examples=

Revision as of 13:21, 19 December 2025

JSON processor

Links

Related tools

  • gron

Examples

get values of just one field

jq '.[].fieldname'

or when hyphen in name

jq '.[]."field-name"'

only on 1.7+??