2018-05-03 08:27:17 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Copyright (c) 2014 - 2018. *)
|
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
2018-05-03 11:25:47 +04:00
|
|
|
(** This is for use *within* the data encoding library only. Instead, you should
|
|
|
|
use the corresponding module intended for use: {Data_encoding.Bson}. *)
|
|
|
|
|
2018-05-03 08:27:17 +04:00
|
|
|
type bson = Json_repr_bson.bson
|
|
|
|
type t = bson
|
|
|
|
val construct : 't Encoding.t -> 't -> bson
|
|
|
|
val destruct : 't Encoding.t -> bson -> 't
|