vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Function Bson.to

Converts the BSON value to a D value.

T to(T)() const @property;

In addition to working like get!T, the following conversions are done: - to!double - casts int and long to double - to!long - casts int to long - to!string - returns the same as toString

See Also

deserializeBson, opt, get

Authors

Sönke Ludwig

Copyright

© 2012-2015 Sönke Ludwig

License

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