reactivemongo.bson.DefaultBSONHandlers
Writes an instance of T
as a BSON value.
Writes an instance of T
as a BSON value.
This method may throw exceptions at runtime.
If used outside a reader, one should consider writeTry(bson: B): Try[T]
or writeOpt(bson: B): Option[T]
.
Tries to produce a BSON value from an instance of T
, returns None
if an error occurred.
Tries to produce a BSON value from an instance of T
, returns None
if an error occurred.
Tries to produce a BSON value from an instance of T
.
Tries to produce a BSON value from an instance of T
.