Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
beautify json python
Andy K.
Programming language:
Javascript
2021-07-21 19:31:19
0
Q:
beautify json python
Jyrki Lahtonen
Code:
Javascript
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
convert to json python
python json dump
python format json file
how to avoid json decode problem in python
open json file python
Json in python
python json.dumps pretty print
print json pretty linux
python convert requests response to json
python print pretty json
New to Communities?
Join the community