Challenge 2: Filter a Response With jq — Possible Solution ==================================================================== curl -s https://api.example.com/... | jq '.items[] | .name' WHY THIS WORKS AS AN ANSWER ------------------------------ .items[] iterates over every element in the items array — the [] after a field name is jq's syntax for "for each element in this array," exactly as used in the chapter's own ".items[] | .price" example, just targeting a different field. | .name then extracts just the name field from EACH item as it's iterated — the pipe here works inside the jq filter itself (distinct from the shell's own | piping curl's output into jq), passing each array element in turn into the .name extraction. The result is each item's name printed on its own line — "Mouse" and "Keyboard" — rather than the full objects, or a single combined value. If the goal were a single JSON array of just the names instead of separate printed lines, [.items[].name] (wrapping the whole expression in square brackets) would produce ["Mouse", "Keyboard"] as one value.