Json.opIndex - multiple declarations

Function Json.opIndex

Allows direct indexing of object typed JSON values using a string as the key.

Prototypes

const(Json) opIndex(
  string key
) const;

Json opIndex(
  string key
) ref;

Function Json.opIndex

Allows direct indexing of array typed JSON values.

Prototype

inout(Json) opIndex(
  ulong idx
) ref inout;

Authors

Sönke Ludwig

Copyright

© 2012-2013 RejectedSoftware e.K.

License

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