public class JsonGrammarGenerator extends ValidatingGrammarGenerator
| Constructor and Description | 
|---|
| JsonGrammarGenerator() | 
| Modifier and Type | Method and Description | 
|---|---|
| Symbol | generate(Schema schema)Returns the non-terminal that is the start symbol for the grammar for the
 grammar for the given schema sc. | 
| Symbol | generate(Schema sc,
        Map<org.apache.avro.io.parsing.ValidatingGrammarGenerator.LitS,Symbol> seen)Returns the non-terminal that is the start symbol for grammar of the given
 schema sc. | 
public Symbol generate(Schema schema)
generate in class ValidatingGrammarGeneratorpublic Symbol generate(Schema sc, Map<org.apache.avro.io.parsing.ValidatingGrammarGenerator.LitS,Symbol> seen)
generate in class ValidatingGrammarGeneratorsc - The schema for which the start symbol is requiredseen - A map of schema to symbol mapping done so far.Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.