Cheatsheet Pages / jq Cheatsheet
How to drill into nested JSON objects with jq
The value you want is buried a few objects deep.
Every filter was executed against the cheatsheet's sample config.json with jq 1.7 before publishing; the sample file sits at the bottom of the cheatsheet so you can reproduce every output.
jq '.owner.email' config.json
# input: {"owner":{"name":"Ezra","email":"ezra@example.com"}}
# output: "ezra@example.com"
