Function bsonToValue

Default type will be used for NULL value and for array without detected type

Value bsonToValue (
  vibe.data.bson.Bson v,
  OidType defaultType = OidType.Undefined
);