Module B00_serialk_json.Jsonq

type 'a t
val query : 'a t -> Json.t -> ('a, string) result
val succeed : 'a -> 'a t
val fail : string -> 'a t
val failf : ('a, Format.formatter, unit, 'b t) format4 -> 'a
val app : ('a -> 'b) t -> 'a t -> 'b t
val ($) : ('a -> 'b) t -> 'a t -> 'b t
val pair : 'a t -> 'b t -> ('a * 'b) t
val bind : 'a t -> ('a -> 'b t) -> 'b t
val map : ('a -> 'b) -> 'a t -> 'b t
val some : 'a t -> 'a option t
val fold : null:'a t -> bool:'a t -> float:'a t -> string:'a t -> array:'a t -> obj:'a t -> 'a t
val partial_fold : ?null:'a t -> ?bool:'a t -> ?float:'a t -> ?string:'a t -> ?array:'a t -> ?obj:'a t -> unit -> 'a t
val json : Json.t t
val loc : Json.loc t
val with_loc : 'a t -> ('a * Json.loc) t
val is_null : bool t
val null : unit t
val nullable : 'a t -> 'a option t
val bool : bool t
val float : float t
val int : int t
val string : string t
val string_to : kind:string -> (string -> ('a, string) result) -> 'a t
val enum : kind:string -> Set.Make(String).t -> string t
val enum_map : kind:string -> 'a Map.Make(String).t -> 'a t
val is_empty_array : bool t
val hd : 'a t -> 'a t
val tl : 'a t -> 'a t
val fold_array : ('a -> 'b -> 'b) -> 'a t -> 'b -> 'b t
val array : 'a t -> 'a list t
val nth : ?absent:'a -> int -> 'a t -> 'a t
val mem : string -> 'a t -> 'a t
val opt_mem : string -> 'a t -> absent:'a -> 'a t
val mem_dom : validate:Set.Make(String).t option -> Set.Make(String).t t