Avro_compiler_lib.Schema
type 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_type
A toplevel schema.
val json_of_atomic : atomic_type -> J.t
val to_json : t -> J.t
val json_of_field : record_field -> J.t
val of_json : J.t -> (t, string) Stdlib.result
val pp : Stdlib.Format.formatter -> t -> unit
val to_string : t -> string
val parse_string : string -> (t, string) Stdlib.result
val parse_file : string -> (t, string) Stdlib.result