QName |
Type |
Use |
Annotation |
allowJmsType |
xs:boolean |
optional |
Used for JMS users to allow the JMSType header from the JMS spec to specify a
FQN classname to use to unmarshal to. |
|
collectionTypeName |
xs:string |
optional |
Refers to a custom collection type to lookup in the registry to use. This option
should rarely be used but allows to use different collection types than
java.util.Collection based as default. |
|
disableFeatures |
xs:string |
optional |
Set of features to disable on the Jackson
com.fasterxml.jackson.databind.ObjectMapper. The features should be a name that
matches a enum from com.fasterxml.jackson.databind.SerializationFeature
com.fasterxml.jackson.databind.DeserializationFeature or
com.fasterxml.jackson.databind.MapperFeature Multiple features can be separated
by comma |
|
enableFeatures |
xs:string |
optional |
Set of features to enable on the Jackson
com.fasterxml.jackson.databind.ObjectMapper. The features should be a name that
matches a enum from com.fasterxml.jackson.databind.SerializationFeature
com.fasterxml.jackson.databind.DeserializationFeature or
com.fasterxml.jackson.databind.MapperFeature Multiple features can be separated
by comma |
|
enableJaxbAnnotationModule |
xs:boolean |
optional |
Whether to enable the JAXB annotations module when using jackson. When enabled
then JAXB annotations can be used by Jackson. |
|
id |
xs:ID |
optional |
Sets the value of the id property. |
|
include |
xs:string |
optional |
If you want to marshal a pojo to JSON and the pojo has some fields with null
values. And you want to skip these null values you can set this option to
NOT_NULL |
|
jsonView |
xs:string |
optional |
When marshalling a POJO to JSON you might want to exclude certain fields from
the JSON output. With Jackson you can use JSON views to accomplish this. This
option is to refer to the class which has JsonView annotations |
|
moduleClassNames |
xs:string |
optional |
To use custom Jackson modules com.fasterxml.jackson.databind.Module specified as
a String with FQN class names. Multiple classes can be separated by comma. |
|
moduleRefs |
xs:string |
optional |
To use custom Jackson modules referred from the Camel registry. Multiple modules
can be separated by comma. |
|
prettyPrint |
xs:boolean |
optional |
To enable pretty printing output nicely formatted. Is by default false. |
|
unmarshalTypeName |
xs:string |
optional |
Class name of the java type to use when unarmshalling |
|
useList |
xs:boolean |
optional |
To unarmshal to a List of Map or a List of Pojo. |
|
xmlMapper |
xs:string |
optional |
Lookup and use the existing XmlMapper with the given id. |
|