Answers for "how to print json with pprint"

4

python json.dumps pretty print

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

python format json file

python3 -m json.tool unformatted.json > formatted.json
Posted by: Guest on June-09-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language