fromJson
Parses a schema from JSON, ignoring unknown keys other than x-* extensions.
Return
The parsed schema.
Parameters
value
The JSON to parse.
Throws
if the JSON is not a valid schema.
Parses a schema from JSON, ignoring unknown keys other than x-* extensions.
The parsed schema.
The JSON to parse.
if the JSON is not a valid schema.