Module Json.DeserializeHelpers
type jsonParseError =
| SyntaxError of string
| WrongTypeError of string * string
| NoValueError of string
| RecordParseError of string * string
| BytesDecodeError of string
| CustomError of string
| UnknownEnumValueError of string * string * string
val pp_jsonParseError :
Ppx_deriving_runtime.Format.formatter ->
jsonParseError ->
Ppx_deriving_runtime.unit
val show_jsonParseError : jsonParseError -> Ppx_deriving_runtime.string
val deserialize_res :
(Yojson.Basic.t -> string list -> 'a) ->
?path:string list ->
Yojson.Basic.t ->
('a, jsonParseError) Stdlib.result
val path_to_string : string list -> string
val deserialize_wrong_type_error : string list -> string -> exn
val deserialize_unknown_enum_value_error :
string list ->
string ->
string ->
exn
val unit_of_yojson : Yojson.Basic.t -> 'a -> unit
val string_of_yojson : Yojson.Basic.t -> string list -> string
val int_of_yojson : Yojson.Basic.t -> string list -> int
val long_of_yojson : Yojson.Basic.t -> string list -> int
val float_of_yojson : Yojson.Basic.t -> string list -> float
val double_of_yojson : Yojson.Basic.t -> string list -> float
val list_of_yojson :
(Yojson.Basic.t -> string list -> 'a) ->
Yojson.Basic.t ->
string list ->
'a list
val big_int_of_yojson : Yojson.Basic.t -> string list -> int64
val bool_of_yojson : Yojson.Basic.t -> string list -> bool
val assoc_of_yojson :
Yojson.Basic.t ->
string list ->
(string * Yojson.Basic.t) list
val map_of_yojson :
(Yojson.Basic.t -> string list -> 'a) ->
Yojson.Basic.t ->
string list ->
(string * 'a) list
val json_of_yojson : Yojson.Basic.t -> 'a -> Yojson.Basic.t
val blob_of_yojson : Yojson.Basic.t -> string list -> bytes
val big_decimal_of_yojson : Yojson.Basic.t -> string list -> string
val timestamp_of_yojson : Yojson.Basic.t -> string list -> float
val value_for_key :
(Yojson.Basic.t -> string list -> 'a) ->
string ->
(string * Yojson.Basic.t) list ->
string list ->
'a
val option_of_yojson :
((string * Yojson.Basic.t) list -> string list -> 'a) ->
(string * Yojson.Basic.t) list ->
string list ->
'a option