Function Json.opApply

Allows foreach iterating over JSON objects and arrays.

Prototypes

int opApply(
  int delegate(ref Json) del
) @trusted;

int opApply(
  int delegate(ref const(Json)) del
) @trusted const;

int opApply(
  int delegate(ref ulong, ref Json) del
) @trusted;

int opApply(
  int delegate(ref ulong, ref const(Json)) del
) @trusted const;

int opApply(
  int delegate(ref string, ref Json) del
) @trusted;

int opApply(
  int delegate(ref string, ref const(Json)) del
) @trusted const;

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.