Print one property from every object in an array.
Section: Array patterns
Extract a field from each array item
bash
bash
jq '.[].name' users.jsonExplanation
Great for inspecting list payloads quickly.
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 Array patterns
Mixed-type arrays are legal but risky
JSON allows mixed types, but they are often harder to consume.
Missing property vs null property
Omitting a field is different from setting it to null.