Module Data_encoding.Json
include module type of struct include Data_encoding.Json end
type json = [ | `A of json list| `Bool of bool| `Float of float| `Null| `O of (string * json) list| `String of string
]type schema = Json_schema.schemaval encoding : json Data_encoding__V1.Encoding.tval schema_encoding : schema Data_encoding__V1.Encoding.tval convert : 'a Data_encoding__V1.Encoding.t -> 'a Json_encoding.encodingval schema :
?definitions_path:string ->
'a Data_encoding__V1.Encoding.t ->
schematype jsonm_lexeme = [ | `Ae| `As| `Bool of bool| `Float of float| `Name of string| `Null| `Oe| `Os| `String of string
]val construct_seq :
't Data_encoding__V1.Encoding.t ->
't ->
jsonm_lexeme Stdlib.Seq.tval string_seq_of_jsonm_lexeme_seq :
newline:bool ->
chunk_size_hint:int ->
jsonm_lexeme Stdlib.Seq.t ->
string Stdlib.Seq.tval small_string_seq_of_jsonm_lexeme_seq :
newline:bool ->
jsonm_lexeme Stdlib.Seq.t ->
string Stdlib.Seq.tval blit_instructions_seq_of_jsonm_lexeme_seq :
newline:bool ->
buffer:bytes ->
jsonm_lexeme Stdlib.Seq.t ->
(Stdlib.Bytes.t * int * int) Stdlib.Seq.tand path_item = [ | `Field of string| `Index of int| `Next| `Star
]exception Cannot_destruct of path * exnexception Unexpected of string * stringexception No_case_matched of exn listexception Bad_array_size of int * intexception Missing_field of stringexception Unexpected_field of stringval print_error :
?print_unknown:(Stdlib.Format.formatter -> exn -> unit) ->
Stdlib.Format.formatter ->
exn ->
unitval cannot_destruct :
('a, Stdlib.Format.formatter, unit, 'b) Stdlib.format4 ->
'aval wrap_error : ('a -> 'b) -> 'a -> 'bval from_string : string -> (json, string) Stdlib.resultval to_string : ?newline:bool -> ?minify:bool -> json -> stringval pp : Stdlib.Format.formatter -> json -> unitval construct : 'a Data_encoding__V1.Encoding.t -> 'b -> jsonval destruct : 'a Data_encoding__V1.Encoding.t -> json -> 'b