vibe.d beta banner
get vibe.d
0.7.30

Function 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.

Prototype

T opCast(T)() const;

See Also

deserializeBson, opt

Authors

Sönke Ludwig

Copyright

© 2012-2015 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.