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

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

    [ https://issues.apache.org/jira/browse/GROOVY-8464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16346001#comment-16346001 ] 

Daniel Sun commented on GROOVY-8464:
------------------------------------

I'll make the constructor public:
https://github.com/apache/groovy/blob/master/subprojects/groovy-json/src/main/java/groovy/json/StreamingJsonBuilder.java#L534

> 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
>            Priority: Major
>
> 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)