Visual Studio Code Prettify Selected JSON Extension
The purpose of this extension is to offer a JSON prettifier that will act on a given selection. Hence, one can only prettify locally and keep one-line JSON and pretty JSON in the same file.
It is available on Visual Studio Marketplace
Prettify Selected JSON in Visual Studio Marketplace
Or can be forked directly on github and packaged from the sources.
This extension is under MIT license.