jq

Command-line JSON processor

← All commands

Common Examples

$ cat data.json | jq .
$ jq ".name" file.json
$ jq ".items[]" file.json
$ jq -r ".url" file.json
$ curl api | jq ".data[0]"