Currently forEach() support native arrays, JSON arrays, and collections, but not JSON objects. Adding JSON objects would would allow parsing payloads like:
Proposed solution
Extend forEach() to allow JSON objects as well as arrays for the first argument.
Alternatives considered
This is the simplest version of #3147.
Currently
forEach()support native arrays, JSON arrays, and collections, but not JSON objects. Adding JSON objects would would allow parsing payloads like:Proposed solution
Extend
forEach()to allow JSON objects as well as arrays for the first argument.Alternatives considered
This is the simplest version of #3147.