| 1 |
(**************************************************************************) |
| 2 |
(* *) |
| 3 |
(* Copyright 2012-2019 OCamlPro *) |
| 4 |
(* *) |
| 5 |
(* All rights reserved. This file is distributed under the terms of the *) |
| 6 |
(* GNU Lesser General Public License version 2.1, with the special *) |
| 7 |
(* exception on linking described in the file LICENSE. *) |
| 8 |
(* *) |
| 9 |
(**************************************************************************) |
| 10 |
|
| 11 |
type t = |
| 12 |
[ `Null | `Bool of bool | `Float of float| `String of string |
| 13 |
| `A of t list | `O of (string * t) list ] |
| 14 |
|
| 15 |
type 'a encoder = 'a -> t |
| 16 |
type 'a decoder = t -> 'a option |
| 17 |
|
| 18 |
let of_string ?encoding:_ _str = None |
| 19 |
|
| 20 |
let to_string ?minify:_ _j = "" |
| 21 |
|
| 22 |
let append _key _json = () |
| 23 |
|
| 24 |
let flush _oc = () |