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

StreamingJsonBuilder should supported nested closures

    Details

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

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              graemerocher1 Graeme Rocher
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: