# 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.

![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
- Updated: November 10, 2026

Source: https://www.ask-codey.com/cheat-sheets/bash-jq-cheat-sheet
