Answers for "python prettify terminal json only for json objects"

2

pretty json python

print(json.dumps(dict, indent=4))
Posted by: Guest on November-09-2020
1

print json pretty linux

echo '{"foo": "lorem", "bar": "ipsum"}' | python -m json.tool
Posted by: Guest on June-30-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language