You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Pascal Schumacher (JIRA)" <ji...@apache.org> on 2016/03/06 19:54:40 UTC
[jira] [Updated] (GROOVY-7780) JSONBuilder/JSONSlurper: Option to
Only Include NonNull values
[ https://issues.apache.org/jira/browse/GROOVY-7780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pascal Schumacher updated GROOVY-7780:
--------------------------------------
Description:
from the mailing list, by Gerald Wiltse:
{quote}I just found this article which describes the problem perfectly and there are several good workarounds.
http://stackoverflow.com/questions/14749817/exclude-null-values-using-jsonbuilder-in-groovy
Apparently, it's a native feature of Jackson, which makes me think it's probably available in lots of JSON API's.
Any chance this feature could get on the roadmap for JSON Builder (and slurper for that matter)?{quote}
was:
from the mailing list, by Gerald Wiltse:
{qoute}I just found this article which describes the problem perfectly and there are several good workarounds.
http://stackoverflow.com/questions/14749817/exclude-null-values-using-jsonbuilder-in-groovy
Apparently, it's a native feature of Jackson, which makes me think it's probably available in lots of JSON API's.
Any chance this feature could get on the roadmap for JSON Builder (and slurper for that matter)?{quote}
> JSONBuilder/JSONSlurper: Option to Only Include NonNull values
> ---------------------------------------------------------------
>
> Key: GROOVY-7780
> URL: https://issues.apache.org/jira/browse/GROOVY-7780
> Project: Groovy
> Issue Type: Improvement
> Components: JSON
> Reporter: Pascal Schumacher
>
> from the mailing list, by Gerald Wiltse:
> {quote}I just found this article which describes the problem perfectly and there are several good workarounds.
> http://stackoverflow.com/questions/14749817/exclude-null-values-using-jsonbuilder-in-groovy
> Apparently, it's a native feature of Jackson, which makes me think it's probably available in lots of JSON API's.
> Any chance this feature could get on the roadmap for JSON Builder (and slurper for that matter)?{quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)