Method Json.opIndex

Overload group

Allows direct indexing of array typed JSON values.

Prototypes

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

Overload group

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;

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

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