Creates a new BSON value using raw data.
Initializes a new BSON value from the given D type.
Deprecated compatibility alias.
Deprecated compatibility alias.
Represents the type of a BSON value
Allows foreach iterating over BSON objects and arrays.
Assigns a D type to a BSON value.
Converts the BSON value to a D value.
Allows accessing fields of a BSON object using [].
Allows index based access of a BSON array value.
Allows accessing fields of a BSON object using [].
Returns the native type for this BSON if it matches the current runtime type.
Converts a BSON value to a JSON value.
Returns a string representation of this BSON value in JSON format.
Returns the raw data representing this BSON value (not including the field name and type).
Returns a new, empty Bson value of type Array.
Returns a new, empty Bson value of type Object.
Converts the BSON value to a D value.
Returns the length of a BSON value of type String, Array, Object or BinData.
Allows to access existing fields of a JSON object using dot syntax.
Returns the BSON type of this value.
Converts a given JSON value to the corresponding BSON value.
Represents a BSON value.