Format, minify, and validate JSON — with errors pinpointed in your editor instead of a vague message.
Features
- Format JSON — pretty-print with your configured indent.
- Minify JSON — collapse to a single compact line.
- Format and Sort Keys — pretty-print with every object's keys sorted recursively, for clean diffs.
- Validate JSON — confirm validity, or jump straight to the first syntax error.
When JSON is invalid, Jsonova translates the parser's character offset into a real line and column, moves your cursor there, and scrolls it into view — so you find the problem instantly.
Operations apply to your selection if you have one, otherwise to the whole document.
Settings
jsonova.indent— spaces per indent level when formatting (default2). Set to0to indent with a tab.
Usage
- Open or select some JSON.
- Open the Command Palette (
Ctrl+Shift+P/Cmd+Shift+P). - Run a Jsonova: command.
License
Licensed under the MIT License. See the LICENSE file included in this extension.