Json Toolkit is an extension plug-in for processing Json data. It includes formatting, validation, sorting and other functions.
- Validate JSON: Check if JSON syntax is valid and show detailed error messages.
- Prettify Json: Format JSON with proper indentation.
- Minify JSON: Compress JSON to a single line format.
- Escape Json: Escapes a Json string.
- Unescape Json: Remove escaped Json string.
- Json To Unicode: Convert Json to Unicode characters.
- Unicode To Json: Convert Unicode to Json characters.
- Sort Keys: Sort object keys alphabetically (recursively for nested objects).
- Open the command palette with
Ctrl+Shift+P
(Windows/Linux) orCmd+Shift+P
(macOS). - Type
Json Toolkit
and select the desired command:
Json Toolkit: Validate JSON
: Check JSON syntax validityJson Toolkit: Prettify Json
: Format JSON with proper indentationJson Toolkit: Minify JSON
: Compress JSON to single lineJson Toolkit: Escape JSON
: Escapes a Json stringJson Toolkit: Unescape JSON
: Remove escaped Json stringJson Toolkit: JSON to Unicode Escaped
: Convert Json to Unicode charactersJson Toolkit: Unicode Escaped to JSON
: Convert Unicode to Json charactersJson Toolkit: Sort Json By Key
: Sort by Json Key
Install this extension from the Visual Studio Code Marketplace or by searching for "JSON Toolkit" in the VS Code Extensions view.
This extension is licensed under the MIT License.