Answers for "json dumps beautify"

1

beautify json python

>>> import json
>>> print json.dumps({'4': 5, '6': 7}, sort_keys=True, indent=4)
{
    "4": 5,
    "6": 7
}
Posted by: Guest on June-11-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language