[ https://issues.apache.org/jira/browse/GROOVY-7703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15044131#comment-15044131 ]
ASF GitHub Bot commented on GROOVY-7703: ---------------------------------------- GitHub user jwagenleitner opened a pull request: https://github.com/apache/groovy/pull/206 GROOVY-7703 - Add support for Iterable with Closure to JsonBuilder/StreamingJsonBuilder This applies similar changes from PR #203 to the JsonBuilder (non-Streaming) class. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jwagenleitner/groovy GROOVY-7703 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/groovy/pull/206.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #206 ---- commit 95cbdc518ccec48cbab9adf58df8521d218f28d5 Author: John Wagenleitner <jwagenleit...@apache.org> Date: 2015-12-05T21:35:31Z GROOVY-7703 - Add support for Iterable with Closure to JsonBuilder/StreamingJsonBuilder ---- > 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)