Answers for "pretty print json in file"

2

pretty json python

print(json.dumps(dict, indent=4))
Posted by: Guest on November-09-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