curl -s https://api.example.com | python3 -m json.tool
jq . file.json
Created
July 8, 2026 15:39
-
-
Save realmaxc/9ca703b119c5218be3b06a16d64b166a to your computer and use it in GitHub Desktop.
pretty-print JSON from the shell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment