Module Json.DeserializeHelpers

type t = Yojson.Basic.t
type jsonParseError =
  1. | SyntaxError of string
  2. | WrongTypeError of string * string
  3. | NoValueError of string
  4. | RecordParseError of string * string
  5. | BytesDecodeError of string
  6. | CustomError of string
  7. | 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 equal_jsonParseError : jsonParseError -> jsonParseError -> Ppx_deriving_runtime.bool
exception JsonDeserializeError of jsonParseError
val jsonParseErrorToString : jsonParseError -> 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