Cow.Json
JSON (JavaScript Object Notation) library
include module type of Ezjsonm
val from_channel : Stdlib.in_channel -> [> t ]
val from_string : string -> [> t ]
val from_src : Jsonm.src -> [> t ]
val to_channel : ?minify:bool -> Stdlib.out_channel -> t -> unit
val to_dst : ?minify:bool -> Jsonm.dst -> t -> unit
val unit : unit -> value
val bool : bool -> value
val string : string -> value
val strings : string list -> [> t ]
val int : int -> value
val int32 : int32 -> value
val int64 : int64 -> value
val float : float -> value
exception Parse_error of value * string
val get_unit : value -> unit
val get_bool : value -> bool
val get_string : value -> string
val get_strings : value -> string list
val get_int : value -> int
val get_int32 : value -> int32
val get_int64 : value -> int64
val get_float : value -> float
val mem : value -> string list -> bool
val encode_string : string -> value
val decode_string : value -> string option
val decode_string_exn : value -> string
val to_sexp : value -> Sexplib.Type.t
val sexp_of_value : value -> Sexplib.Type.t
val sexp_of_t : t -> Sexplib.Type.t
val of_sexp : Sexplib.Type.t -> value
val value_of_sexp : Sexplib.Type.t -> value
val t_of_sexp : Sexplib.Type.t -> t
val parse_error : value -> ('a, unit, string, 'b) Stdlib.format4 -> 'a
val to_buffer : value -> Stdlib.Buffer.t -> unit
val to_string : value -> string
val to_buffer_hum : value -> Stdlib.Buffer.t -> unit
val to_string_hum : value -> string
val of_string : string -> value
exception Runtime_error of string * value