Open rkatzmann opened 8 years ago
Thank you for the good idea. I currently dont have the spare time for this project... However if you'd like to help, please create a PR.
This fix is now simple to implement: Just use JsonSchema4.FromData when no schema is availablr
Is there an example somewhere on how to use "JsonSchema4.FromData" because I have json files I'd like to edit but when I got to load them clicking validate states " Its valid" but the UI is an empty white page.
Is there a way to have the application auto generate a schema if none is detected? Or which file/portion of the source to look at for this.
I dont think this feature is available. But it should be quite easy to add.
Can I buy you a couple beers for some direction :D
We need to move this if
To
And generate it from data if file does not exist
When opening any json file the editor immediately requires me to open a schema. However I don't have a schema. So I cannot edit it at all with that editor.
My wish is an enhancement in this direction. I see two possibilities:
Use optionally a generator to create a schema from the loaded json file.
-> There are several schema generators available like npm -> However you might need need to add a setting for the npm binary path