package commons

  1. Overview
  2. Docs
module Y = Yojson.Basic
type str = string
type t =
  1. | Object of (string * t) list
  2. | Array of t list
  3. | String of string
  4. | Int of int
  5. | Float of float
  6. | Bool of bool
  7. | Null
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val to_yojson : t -> Y.t
val from_yojson : Y.t -> t
val load_json : string -> t
val json_of_string : string -> t
val string_of_json : ?compact:'a -> ?recursive:'b -> ?allow_nan:'c -> t -> string
OCaml

Innovation. Community. Security.