Format JSON within vim
If you work a lot with web services, like myself, the you will find this infinitely helpful when working with unformatted json. Just open your JSON file (unformatted) and run the command:
:%!python -mjson.tool
voilà!
Written by John Murray
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Python
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#