Function 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.
Converts a BSON value to a JSON value.
All BSON types that cannot be exactly represented as JSON, will be converted to a string.