Expand description
Convert a schema into the JSON format
Functionsยง
- Convert a schema AST into the JSON representation. This will let you subsequently decode that into the Validator AST for Schemas (
crate::ValidatorSchema
). On success, this function returns a tuple containing: * Thejson_schema::Fragment
* An iterator of warnings that were generated - Convert a
Type
into the JSON representation of the type.