I often get large JSON files which contain no newlines or indentation. I’d like to look at these reasonably in neovim, but it’s been cumbersome until today.
TL;DR: You can replace the contents of the buffer with output formatted by jq
with one command: :%!jq .
Christopher R Marshall