-
Notifications
You must be signed in to change notification settings - Fork 1.1k
JSON2Schema
Engelbert Niehaus edited this page Jun 5, 2017
·
15 revisions
The JSON-Editor written by Jeremy Dorn needs a JSON Schema to define the required valid input for the JSON file processed with the editor. The tool json2schema.html runs entirely in the browser and creates a JSON schema.
-
You can start the JSON2Schema tool directly via https://niebert.github.io/json-editor/dbedit/json2schema.html or
-
you can populate the JSON input via a HTML form submission to the URL
<form action="plugins/json2schema.html" method="get" target="_blank"> <textarea name="jsoninput" rows="5" cols="85"> { "name":"John Miller", "color":"#3412AB", "age": 35, "male": true } </textarea> <br> <input type="submit"> </form>