package json-wheel

  1. Overview
  2. Docs
val make_table : (string * t) list -> (string, t) Hashtbl.t
val field : (string, t) Hashtbl.t -> string -> t
val fieldx : (string, t) Hashtbl.t -> string -> t
val optfield : (string, t) Hashtbl.t -> string -> t option
val optfieldx : (string, t) Hashtbl.t -> string -> t option
val describe : t -> string
val type_mismatch : string -> t -> 'a
val is_null : t -> bool
val is_defined : t -> bool
val null : t -> unit
val string : t -> string
val bool : t -> bool
val number : t -> float
val int : t -> int
val float : t -> float
val array : t -> t list
val objekt : t -> (string * t) list
val list : (t -> 'a) -> t -> 'a list
val option : t -> t option
val optional : (t -> 'a) -> t -> 'a option
val assert_object_or_array : t -> unit
OCaml

Innovation. Community. Security.