You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 15, 2021. It is now read-only.
I looked at doing this (and generating a schema from a type) back when draft 6 was the latest. It gets really complex pretty quickly. It's the *Of and not keywords mostly that make things difficult.
I'll add this as a feature request, though, and have a look at it again.
Is it possible to generate a JSON object with default values from a JSON schema?
eg:
use schema:
to produce valid JSON with default values:
The actual schemas are more complex - also with array definitions and default array values - used for https://github.com/json-editor/json-editor
thx
The text was updated successfully, but these errors were encountered: