Allows accessing fields of a BSON object using [].
Returns a null value if the specified field does not exist.
Bson value = Bson.emptyObject; value["a"] = 1; value["b"] = true; value["c"] = "foo"; assert(value["a"] == Bson(1)); assert(value["b"] == Bson(true)); assert(value["c"] == Bson("foo"));
See Implementation
Allows accessing fields of a BSON object using [].
Returns a null value if the specified field does not exist.