V1.Bsontype bson = Json_repr_bson.bsontype t = bsonval construct : 't Encoding.t -> 't -> bsonConstruct a BSON object from an encoding.
val destruct : 't Encoding.t -> bson -> 'tDestruct a BSON object into a value. Fail with an exception if the JSON object and encoding do not match..