Python 3 · Running Python

Pretty-print JSON

Format a JSON file for reading.

python3 -m json.tool data.json

Official Python 3 documentation

More running python commands

All running python commands · Python 3 cheatsheet

Was this page helpful?