If you want to marshal a pojo to JSON, and the pojo has some fields with null values. Whether to enable auto configuration of the json-jackson data format. The features should be a name that matches a enum from .SerializationFeature, .DeserializationFeature, or .MapperFeature Multiple features can be separated by comma. Set of features to enable on the Jackson .ObjectMapper. The features should be a name that matches a enum from .SerializationFeature, .DeserializationFeature, or .MapperFeature Multiple features can be separated by comma.Ĭ-features Set of features to disable on the Jackson .ObjectMapper. For example application/xml for data formats marshalling to XML, or application/json for data formats marshalling to JSON.Ĭ-features Whether the data format should set the Content-Type header with the type from the data format. This option should rarely be used, but allows to use different collection types than based as default.Ĭ-type-header Refers to a custom collection type to lookup in the registry to use. When not disabled, the SchemaResolver will be looked up into the registry.Ĭ-type ![]() If set to true then Jackson will lookup for an objectMapper into the registry.Ĭ-discover-schema-resolver This should only be enabled when desired to be used.Ĭ-discover-object-mapper If enabled then Jackson is allowed to attempt to use the CamelJacksonUnmarshalType header during the unmarshalling. ![]() Used for JMS users to allow the JMSType header from the JMS spec to specify a FQN classname to use to unmarshal to.Ĭ-unmarshall-type
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |