package of_json

  1. Overview
  2. Docs
type t = Jsonaf.t
include Core.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
include Core.Stringable.S with type t := t
val of_string : string -> t
val to_string : t -> string
val typeof : t -> string
val as_assoc : t -> (string, t) Core.List.Assoc.t
val as_number : t -> string
val as_int : t -> int
val as_float : t -> float
val as_string : t -> string
val as_bool : t -> bool
val as_list : t -> t list
val as_option : t -> t option
val keys : t -> string list
val member : string -> t -> t option
OCaml

Innovation. Community. Security.