jon.recoil.org

Module Odoc_utils.Json

type json = [
  1. | `Null
  2. | `Bool of bool
  3. | `Float of float
  4. | `String of string
  5. | `Array of Odoc_utils.Json.json list
  6. | `Object of (string * Odoc_utils.Json.json) list
]
val buffer_add_json : Stdlib.Buffer.t -> ([< `Array of 'a list | `Bool of bool | `Float of float | `Null | `Object of (string * 'a) list | `String of string ] as 'a) -> unit
val buffer_add_json_string : Stdlib.Buffer.t -> string -> unit
val to_string : ([< `Array of 'a list | `Bool of bool | `Float of float | `Null | `Object of (string * 'a) list | `String of string ] as 'a) -> string