Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-7703

Add support for Iterable with Closure to JsonBuilder/StreamingJsonBuilder

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.5
    • Fix Version/s: 2.4.6
    • Component/s: JSON
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              jwagenleitner John Wagenleitner
              Reporter:
              jwagenleitner John Wagenleitner
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: