BSON.opCast

Converts the BSON value to a D value.

If the BSON type of the value does not match the D type, an exception is thrown.

  1. T opCast()
    struct BSON
    @safe const
    T
    opCast
    (
    T
    )
    ()
  2. T get [@property getter]

See Also

deserializeBSON, opt

Meta