You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2014/07/22 12:38:39 UTC

[jira] [Commented] (CAMEL-7624) camel-jackson - Add option to set inclusion to skip null fields from pojos

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

Claus Ibsen commented on CAMEL-7624:
------------------------------------

There is an include option that can be configured now to NOT_NULL

> camel-jackson - Add option to set inclusion to skip null fields from pojos
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-7624
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7624
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jackson
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.13.3, 2.14.0
>
>
> It takes a bit to configure jackson to skip null fields from pojos. You can annote your pojos but then they have jackson annotations on their classpath.
> But we need an option on json dataformat in camel, so you can configure that option.
> Some details at
> http://stackoverflow.com/questions/11449211/how-to-prevent-null-values-inside-a-map-and-null-fields-inside-a-bean-from-getti



--
This message was sent by Atlassian JIRA
(v6.2#6252)