Return all object values as an array.
Section: Object Basics
Object values
bash
bash
echo '{"a":1,"b":2}' | jq 'values'Explanation
Use when you want to ignore keys and work with values only.
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 Object Basics