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 2015/09/17 11:53:46 UTC

[jira] [Commented] (CAMEL-9137) RestBindingDefinition should allow to set Include("NON_NULL") for JsonDataFormat

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

Claus Ibsen commented on CAMEL-9137:
------------------------------------

There is an include option on the data format you should be able to set to NOT_NULL.

> RestBindingDefinition should allow to set Include("NON_NULL") for JsonDataFormat
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-9137
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9137
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Vaclav Chalupa
>
> There is option to set properties from Jackson classes:
> - com.fasterxml.jackson.databind.SerializationFeature
> - com.fasterxml.jackson.databind.DeserializationFeature
> - com.fasterxml.jackson.databind.MapperFeature
> but it is not possible to set JsonInclude.Include.NON_NULL to return only non-null json properties.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)