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

StreamingJsonBuilder should supported nested closures

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment