groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Sun (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GROOVY-8464) Allow rendering inline json
Date Tue, 30 Jan 2018 23:48:00 GMT

    [ 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)

Mime
View raw message