json_schema_to_grammar

Function json_schema_to_grammar 

Source
pub fn json_schema_to_grammar(
    schema: &str,
    options: &SchemaConverterOptions,
) -> SchemaResult<GrammarData>
Expand description

Convert a JSON Schema string into a parsed GrammarData AST by generating the EBNF and feeding it through the EBNF parser.