Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
beautify json python
Dawood ibn Kareem
Programming language:
Python
2021-06-09 05:38:12
0
Q:
beautify json python
Jyrki Lahtonen
Code:
Python
2021-08-03 11:22:48
>>> import json >>> print json.dumps({'4': 5, '6': 7}, sort_keys=True, indent=4) { "4": 5, "6": 7 }
1
Tags
python
json
Related
python json stringify
python json dump
python convert requests response to json
how to avoid json decode problem in python
print json python
python json.dumps pretty print
python format json file
open json file python
read json file python
Json in python
python to json
pretty json python
python print pretty json
response.json results in pretty data python
convert to json python
json dump python
New to Communities?
Join the community