Difference between revisions of "Jq"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<code>jq</code> is a lightweight and flexible command-line JSON processor. | <code>jq</code> is a lightweight and flexible command-line JSON processor. | ||
* Homepage: https://stedolan.github.io/jq/ | * Homepage: https://stedolan.github.io/jq/ | ||
− | * apt install jq | + | * Ubuntu: <code>[[apt install jq]]</code> |
== Examples == | == Examples == |
Revision as of 11:32, 13 October 2021
jq
is a lightweight and flexible command-line JSON processor.
- Homepage: https://stedolan.github.io/jq/
- Ubuntu:
apt install jq
Examples
jq . file.json
jq '.[] | select(.color=="blue")' your_json_file.json
Related terms
See also
Advertising: