Format JSON into a readable structure.
Section: Core syntax rules
Pretty-print JSON with jq
bash
bash
jq . input.jsonExplanation
A fast way to validate and pretty-print JSON from a file.
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 Core syntax rules