Last active
October 24, 2019 11:09
-
-
Save cheldernunes/9ebd30333cfa449e5865efeb97f1679e to your computer and use it in GitHub Desktop.
Print pretty json out with python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print(json.dumps({"key": "value"}, indent=4, sort_keys=True)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment