A tool to generate JSON tree view from JSON file, integrated with JSON schema validation and customized tree view configuration.
- JSON Tree View
- Validation Error Hightlighting
- Customized Tree View Configuration
-
Follow instructions on
https://code.visualstudio.com/docs/languages/json
to set up json schema files. -
To enable customized tree view, in user setting you need to specify the key of the object you want to customize and speicify which children's key you want to use as identifier. E.g.
{ "jsonTreeView.customizedViewActivated": true, "jsonTreeView.customizedViewMapping": { "items": "id" } }
Open folder ./demo
in Visual Studio Code, and open file target.json
in text editor, you will find errors are highlighted.
Initial release of JSON Tree View
Remove ajv library and use vscode diagnostics API instead
- For more information, feel free to raise new issues on Github Repository JSON Tree View