JSON with jq
jq reads JSON, the labeled data that web APIs and cloud tools answer with: dots follow the labels in, .[] goes through every item in a list, select keeps the items you want, and -r prints plain lines a bash loop can read.
Updated
![Cheat sheet for the lesson JSON with jq: jq reads JSON, the labeled data that web APIs and cloud tools answer with: dots follow the labels in, .[] goes through every item in a list, select keeps the items you want, and -r prints plain lines a bash loop can read.](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/ce8cebf4d1824ca6bb82245588b1d247.webp)
- Category
- Bash
- Level
- Journeyman
- Tags
- API, jq, JSON, linux, unix