You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "James Kleeh (JIRA)" <ji...@apache.org> on 2018/01/30 16:05:00 UTC

[jira] [Created] (GROOVY-8464) Allow rendering inline json

James Kleeh created GROOVY-8464:
-----------------------------------

             Summary: Allow rendering inline json
                 Key: GROOVY-8464
                 URL: https://issues.apache.org/jira/browse/GROOVY-8464
             Project: Groovy
          Issue Type: Improvement
          Components: JSON
    Affects Versions: 2.5.0-beta-2
            Reporter: James Kleeh


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!

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)