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: * The json_schema::Fragment * An iterator of warnings that were generated