Method Bson.toJson

Converts a BSON value to a JSON value.

All BSON types that cannot be exactly represented as JSON, will be converted to a string.

Prototype

const(Json) toJson();

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

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