Answers for "print pretty json inside python shell"

4

python json.dumps pretty print

json.dumps(x, indent=4)
Posted by: Guest on September-23-2020
1

python pretty print json command line

# in command line (given python installed)
python -m json.tool my_json.json
Posted by: Guest on June-09-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language