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

StreamingJsonBuilder should supported nested closures

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.5
    • 2.4.6
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: