Answer the question
In order to leave comments, you need to log in
JSON editor based on JSON Schema
I'm looking at using JSON for configs. In my opinion, this is a good compromise between simplicity and flexibility. But editing JSON manually is a thankless task, there are only so many quotes to write. Googled JSON editor. There are interesting options, you can edit an object in the form of a tree by adding keys, array elements, nested objects. But I didn't see the possibility of using schema.
The trick is that the config usually has a well-defined structure, while the editor allows you to create a JSON document with an arbitrary structure. If the editor were to first specify the schema, he would create the keys of the objects himself, and the user would enter the values in the keys. In this case, the values would be entered taking into account the type specified in the schema: if a number, then a number, if an enumeration, a choice from a list.
Yes, such an editor to the end user would not be ashamed to give! And the main solution is universal, just change the scheme (which you can write with the help of the same editor!).
Has anyone come across what I'm looking for? It seems to be an easy thing.
Answer the question
In order to leave comments, you need to log in
One of the best tools for JSON is codebeautify.org/jsonviewer JSON formatter, JSON validator, JSON minify, JSON to XML, JSON to CSV
I know a JSON editor, I don't know if it can meet your needs
https://www.jsonformatting.com/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question