Bson.opCast

Converts the BSON value to a D value.

If the BSON type of the value does not match the D type, an exception is thrown.

struct Bson
@safe const
T
opCast
(
T
)
()

See Also

deserializeBson, opt, to

Meta