Vim – pretty print JSON

It’s as simple as running this command within Vim

:%!python -m json.tool

Leave a Reply

You must be logged in to post a comment.