Function Bson.opDispatch

Deprecated, please use opIndex instead.

Allows to access existing fields of a JSON object using dot syntax.

Returns a null value for non-existent fields.

Prototypes

inout inout(Bson) opDispatch(string prop)() @property;

void opDispatch(string prop, T)(
  T val
) @property;

Authors

Sönke Ludwig

Copyright

© 2012-2015 RejectedSoftware e.K.

License

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