make pretty json.
Documentation: https://github.com/devstuff-io/pretty-json
pip install pretty-json
Default: monokai
The pygments formatter used to make the json pretty.
from pretty_json import format_json
# format_json(content, style=OUTPUT_STYLE)
print format_json({'key': 'value'})
See and sample the available styles
python -c "from pretty_json import sample;sample('manni')"
All of the installed pygments styles are available:
pip install pygments-solarized
python -c "from pretty_json import sample;sample('solarized')"
See contributors section on GitHub.