Print array values as lines

Raw output (-r) with one value per line, handy for scripts

cat data.json | jq -r '.items[].metadata.name'

tool
jq17 commands
tags
jq

More jq commands

all 17 jq commands