package commons

  1. Overview
  2. Docs

Module JSONSource

Sourcetype str = string
Sourcetype 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
Sourceval to_yojson : t -> Y.t
Sourceval from_yojson : Y.t -> t
Sourceval load_json : string -> t
Sourceval json_of_string : string -> t
Sourceval string_of_json : ?compact:'a -> ?recursive:'b -> ?allow_nan:'c -> t -> string
OCaml

Innovation. Community. Security.