Output JSON with keys in sorted order.
Section: Getting Started
Sort object keys
bash
bash
jq -S '.' data.jsonExplanation
Helpful for stable diffs and deterministic output.
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 Getting Started