Pipe JSON from an HTTP request into jq.
Section: Minify JSON
Pretty-print an API response
bash
bash
curl -s https://api.example.com/users | jq .Explanation
A practical workflow when inspecting REST responses.
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 Minify JSON