Avro_compiler_lib.Schematype top_type = | Atomic of atomic_type | |||||
| Named of string | |||||
| Array of top_type | |||||
| Str_map of top_type | |||||
| Union of top_type list | |||||
| Fixed of {
} | |||||
| Enum of {
} | |||||
| Record of {
} |
type t = top_typeA toplevel schema.
val json_of_atomic : atomic_type -> J.tval to_json : t -> J.tval json_of_field : record_field -> J.tval of_json : J.t -> (t, string) Stdlib.resultval pp : Stdlib.Format.formatter -> t -> unitval to_string : t -> stringval parse_string : string -> (t, string) Stdlib.resultval parse_file : string -> (t, string) Stdlib.result