vibe.d beta banner
get vibe.d
0.7.30

Function Json.opApply

Allows foreach iterating over JSON objects and arrays.

Prototypes

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

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

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

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

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

int opApply(
  scope 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.