You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Pascal Schumacher (JIRA)" <ji...@apache.org> on 2016/03/12 22:34:03 UTC

[jira] [Updated] (GROOVY-7703) Add support for Iterable with Closure to JsonBuilder/StreamingJsonBuilder

     [ https://issues.apache.org/jira/browse/GROOVY-7703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pascal Schumacher updated GROOVY-7703:
--------------------------------------
    Fix Version/s:     (was: 2.5.0-beta-1)

> 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
>             Fix For: 2.4.6
>
>
> 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)