[
https://issues.apache.org/jira/browse/GROOVY-7706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Wagenleitner resolved GROOVY-7706.
---------------------------------------
Resolution: Fixed
Fix Version/s: 2.5.0-beta-1
2.4.6
PR https://github.com/apache/groovy/pull/208 merged, thanks!
> StreamingJsonBuilder should supported nested closures
> ------------------------------------------------------
>
> Key: GROOVY-7706
> URL: https://issues.apache.org/jira/browse/GROOVY-7706
> Project: Groovy
> Issue Type: Improvement
> Affects Versions: 2.4.5
> Reporter: Graeme Rocher
> Fix For: 2.4.6, 2.5.0-beta-1
>
>
> Currently `StreamingJsonBuilder` doesn't handle nested closures properly and
> instead these are delegated to `JsonOutput.toJso`n which is not streaming and
> leads to an unexpected change of delegate in the nested closure. This pull
> request fixes that erroneous behaviour.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)