Select a value from a nested path.
Section: Selectors and Paths
Get nested property
bash
bash
echo '{"user":{"profile":{"email":"a@example.com"}}}' | jq '.user.profile.email'Explanation
Dot chaining walks nested objects.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Selectors and Paths