Reads a BSON value and produce an instance of T
.
Reads a BSON value and produce an instance of T
.
This method may throw exceptions at runtime.
If used outside a reader, one should consider readTry(bson: B): Try[T]
or readOpt(bson: B): Option[T]
.
Tries to produce an instance of T
from the bson
value, returns None
if an error occurred.
Tries to produce an instance of T
from the bson
value, returns None
if an error occurred.
Tries to produce an instance of T
from the bson
value.
Tries to produce an instance of T
from the bson
value.