You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "John Wagenleitner (JIRA)" <ji...@apache.org> on 2016/10/25 17:17:58 UTC
[jira] [Commented] (GROOVY-6699) JSON slurper ability to ignore
propertie/field names
[ https://issues.apache.org/jira/browse/GROOVY-6699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15605899#comment-15605899 ]
John Wagenleitner commented on GROOVY-6699:
-------------------------------------------
The new {{JsonGenerator}} in 2.5 provides the capability to exclude properties/fields based on name and type. This addresses the serialization side but not the slurper side.
> JSON slurper ability to ignore propertie/field names
> ----------------------------------------------------
>
> Key: GROOVY-6699
> URL: https://issues.apache.org/jira/browse/GROOVY-6699
> Project: Groovy
> Issue Type: Improvement
> Components: JSON
> Reporter: Richard Hightower
> Priority: Minor
>
> <blockquote class="twitter-tweet" lang="en"><p>Jackson for JSON is such a steaming pile of nonsense. How it became so popular in the Java community is beyond me.</p>— Graeme Rocher (@graemerocher) <a href="https://twitter.com/graemerocher/statuses/431734261939699712">February 7, 2014</a></blockquote>
> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
> RH: Ability to pass properties to ignore. What else? Custom serializers?
> GR: yeah that was my main gripe. Should be easy to exclude properties by name
> This seems like an easy feature to add. It would be for reading and serializing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)