package opam-core

  1. Overview
  2. Docs

Json encoder; only needed for some debug options

Warning. Assumes given strings are UTF-8 encoded this is not checked by the module.

type t = [
  1. | `Null
  2. | `Bool of bool
  3. | `Float of float
  4. | `String of string
  5. | `A of t list
  6. | `O of (string * t) list
]
val to_string : t -> string
val append : string -> t -> unit
val flush : out_channel -> unit
OCaml

Innovation. Community. Security.