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

Allow rendering inline json

    XMLWordPrintableJSON

Details

    Description

      In order to be able to render json "inline" (without `{}`), one or both of the following should change:

       

      This constructor to be made public

      https://github.com/apache/groovy/blob/master/subprojects/groovy-json/src/main/java/groovy/json/StreamingJsonBuilder.java#L534

      or this method to not be private
      https://github.com/apache/groovy/blob/master/subprojects/groovy-json/src/main/java/groovy/json/StreamingJsonBuilder.java#L834

       

      We have been using a fork of the classes for some time and we would like to use the ones provided by Groovy, however due to our advanced usage of the library, we need further access. Thanks!

       

      Attachments

        Activity

          People

            daniel_sun Daniel Sun
            Schlogen James Kleeh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: