by i0exception · 10y ago · 0 comments
cat unformatted.json | python -mjson.tool | vim -
And then use vim's folding methods to navigate the file (http://vim.wikia.com/wiki/Folding) python -mjson.tool < unformatted.json | vim -
If you're not using cat to concatenate things, the shell can probably handle the job. < unformatted.json python -mjson.tool | vim -