You can format your JSON document using Shift+Alt+F or Format Document from the context menu.
There are also extensions available in the Marketplace (e.g. Prettier - Code formatter).
If you want to beatify your json file, you can search an extension on the marketplace