B
B
bevalorous2014-08-01 13:47:26
IDE
bevalorous, 2014-08-01 13:47:26

What are the editors for JSON with code completion and code validation according to the specified JSON schema?

I am looking for a JSON file editor, where you can specify a JSON Schema (a schema file or a link to it) for the file being edited, and after that it will be possible to validate and auto-complete the code.
For example, you need to edit the composer.json file. All composer.json configuration files have the same structure, corresponding to this JSON schema . Accordingly, when editing such a file, it would be useful to be able to:
a) see a list of hints, i.e. attributes allowed in a given location of the file, as well as valid attribute values, and use code completion when typing;
b) check your file against the selected schema to make sure it does not contain errors in syntax and semantics
In the absence of all this, editing such a file is like writing code in any programming language in a regular Notepad:
a) you have to keep all the rules of syntax and semantics in your head or constantly check with the reference documentation for the format of the edited JSON file;
b) the lack of auto-completion significantly slows down the work and increases the percentage of errors
In the list of tools that can do this, I found only Visual Studio, but such a monster is not suitable for me for such a small task.
What is a JSON Schema?
Tools for working with JSON schemas
List of the most popular JSON schemas

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question