19 #ifndef avro_Compiler_hh__
20 #define avro_Compiler_hh__
53 AVRO_DECL
ValidSchema compileJsonSchemaFromMemory(
const uint8_t *input,
size_t len);
55 AVRO_DECL
ValidSchema compileJsonSchemaFromString(
const char *input);
57 AVRO_DECL
ValidSchema compileJsonSchemaFromString(
const std::string &input);
59 AVRO_DECL
ValidSchema compileJsonSchemaFromFile(
const char *filename);
A ValidSchema is basically a non-mutable Schema that has passed some minimum of sanity checks.
Definition: ValidSchema.hh:40
A bunch of templates and specializations for encoding and decoding specific types.
Definition: AvroParse.hh:30
AVRO_DECL void compileJsonSchema(std::istream &is, ValidSchema &schema)
Given a stream containing a JSON schema, compiles the schema to a ValidSchema object.