Produces a T instance of the given BSON value,
if there is a corresponding BSONReader in the implicit scope.
Produces a T instance of the given BSON value,
if there is a corresponding BSONReader in the implicit scope.
Prefer readDocument over this one
if you want to deserialize BSONDocuments.
Produces a T instance of the given BSONDocument,
if there is a corresponding BSONReader
in the implicit scope.
Produces a BSONValue instance of the given T value,
if there is a corresponding BSONWriter in the implicit scope.
Produces a BSONValue instance of the given T value,
if there is a corresponding BSONWriter in the implicit scope.
Prefer writeDocument over this one
if you want to serialize T instances.
Produces a BSONDocument of the given T instance,
if there is an implicit BSONWriter in the implicit scope.
Utility functions