Vim Pretty JSON

:%!python -m json.tool

Or add to .vimrc

au FileType json setlocal equalprg=python\ -m\ json.tool

Refer