Created
December 3, 2022 16:31
-
-
Save amrakm/f6a5288a954b15e8d5a87a879021d6dd to your computer and use it in GitHub Desktop.
print json with indentation
This file contains 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
import json | |
dict = json.loads(response.text) | |
print(json.dumps(dict, indent=2)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment