John Wagenleitner created GROOVY-7703:
-----------------------------------------
Summary: Add support for Iterable with Closure to
JsonBuilder/StreamingJsonBuilder
Key: GROOVY-7703
URL: https://issues.apache.org/jira/browse/GROOVY-7703
Project: Groovy
Issue Type: Improvement
Components: JSON
Affects Versions: 2.4.5
Reporter: John Wagenleitner
Assignee: John Wagenleitner
Priority: Minor
JsonBuilder and StreamingJsonBuilder currently support passing a {{Collection}}
and a {{Closure}}, the closure will be applied to each item in the collection.
An improvement would be to support the more general {{Iterable}} type.
See https://github.com/apache/groovy/pull/203
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)