vson.bson

BSON serialization and value handling.

Public Imports

vson.json
public import vson.json;
Undocumented in source.

Members

Aliases

bdata_t
alias bdata_t = immutable(ubyte)[]
Undocumented in source.

Functions

deserializeBsonOld
T deserializeBsonOld(Bson src)

private

fromBsonData
T fromBsonData(ubyte[] v)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeToBson
Bson serializeToBson(T value, ubyte[] buffer)

Serializes the given value to BSON.

serializeToBsonOld
Bson serializeToBsonOld(T value)

private

toBigEndianData
ubyte[] toBigEndianData(T v)
Undocumented in source. Be warned that the author may not have intended to support it.
toBsonData
ubyte[] toBsonData(T v)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Bson
struct Bson

Represents a BSON value.

BsonBinData
struct BsonBinData

Represents a BSON binary data value (Bson.Type.binData).

BsonDate
struct BsonDate

Represents a BSON date value (Bson.Type.date).

BsonObjectID
struct BsonObjectID

Represents a BSON object id (Bson.Type.binData).

BsonRegex
struct BsonRegex

Represents a BSON regular expression value (Bson.Type.regex).

BsonSerializer
struct BsonSerializer

Serializes to an in-memory BSON representation.

BsonTimestamp
struct BsonTimestamp

Represents a BSON timestamp value (Bson.Type.timestamp)

Templates

deserializeBson
template deserializeBson(T)
Undocumented in source.
isBsonSerializable
template isBsonSerializable(T)

private

Meta

License

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

Authors

Sönke Ludwig