private static Symbol getSymbol(Schema schema) { if (null == schema) { throw new NullPointerException("Schema cannot be null!"); } return new JsonGrammarGenerator().generate(schema); }
JasvornoEncoder(Schema sc, JsonGenerator out) throws IOException { configure(out); parser = new Parser(new JsonGrammarGenerator().generate(sc), this); }
HackedJsonEncoder(Schema sc, JsonGenerator out) throws IOException { configure(out); this.parser = new Parser(new JsonGrammarGenerator().generate(sc), this); }