Run the command named Fix JSON or use shortcut Ctrl + Alt + F.
If cannot fix code, statusbar show wrong information
Uglify JSON
Open a json file.
Run the command named Uglify JSON.
Beautify JSON
Open a json file.
Run the command named Beautify JSON.
Escape JSON
Open a json file.
Run the command named Escape JSON.
Unescape JSON
Open a json file.
Run the command named Unescape JSON.
Validate JSON
Open a json file.
Run the command named Validate JSON.
XML to JSON
XML to JSON
XML to JSON from clipboard
JSON to YAML / YAML to JSON
JSON to YAML
YAML to JSON
Shortcuts
Fix JSON: Ctrl + Alt + F
Supported settings
vscode-json-enhanced.indentationSpaces
Type: Number | Null
Default: null
Description: Number of spaces to use for indentation of formatted JSON output. If not set, your editor.tabSize setting is used.