Format JSON output for readability.
Section: sed awk and Structured Text Workflows
Pretty-print JSON
bash
bash
jq '.' response.jsonExplanation
A must-have when APIs or tools emit raw JSON.
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 sed awk and Structured Text Workflows