jq

A command-line JSON processor that uses a domain-specific language.

=> More information.

jq . {file.json}
jq '.[]' {file.json}
jq '.[] | select(.{key_name} == {value})'
jq --slurp . {file.json}
jq '.[0]' {file.json}
cat {file.json} | jq 'map(.{key_name})'
cat {file.json} | jq '{{my_new_key}: .{key_name}, {my_other_key}: .{other_key_name}}'
cat {file.json} | jq --raw-output '"some text: \(.{key_name})"'
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

=> CC-BY

Proxy Information
Original URL
gemini://freeshell.de/tldr/jq.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
104.880164 milliseconds
Gemini-to-HTML Time
0.472429 milliseconds

This content has been proxied by September (3851b).