vscode-json is a VS Code extension for fast JSON editing in-place.
- VS Code Marketplace: riccardopll.vscode-json-kit
- Open VSX: riccardopll/vscode-json-kit
- Open a JSON/JSONC file.
- Select the JSON you want to transform (or select nothing to target the whole file).
- Run one of the commands from the Command Palette.
| Command Palette Title | Command ID | What it does |
|---|---|---|
JSON: Minify |
json-tools.minify |
Converts JSON/JSONC to compact JSON |
JSON: Stringify |
json-tools.stringify |
Converts JSON into an escaped JSON string |
JSON: Deserialize |
json-tools.deserialize |
Converts a stringified JSON value back to JSON |