Uses of Class
org.apache.camel.model.dataformat.JsonDataFormat.Builder
Packages that use JsonDataFormat.Builder
Package
Description
The JAXB POJOs for the Data Formats used to marshal and
unmarshal objects to and from streams inside components
-
Uses of JsonDataFormat.Builder in org.apache.camel.builder
Methods in org.apache.camel.builder that return JsonDataFormat.BuilderModifier and TypeMethodDescriptionDataFormatBuilderFactory.json()Uses the JSON data format using the Jackson library -
Uses of JsonDataFormat.Builder in org.apache.camel.model.dataformat
Methods in org.apache.camel.model.dataformat that return JsonDataFormat.BuilderModifier and TypeMethodDescriptionJsonDataFormat.Builder.allowJmsType(boolean allowJmsType) Used for JMS users to allow the JMSType header from the JMS spec to specify a FQN classname to use to unmarshal to.JsonDataFormat.Builder.allowJmsType(String allowJmsType) Used for JMS users to allow the JMSType header from the JMS spec to specify a FQN classname to use to unmarshal to.JsonDataFormat.Builder.allowUnmarshallType(boolean allowUnmarshallType) If enabled then Jackson is allowed to attempt to use the CamelJacksonUnmarshalType header during the unmarshalling.JsonDataFormat.Builder.allowUnmarshallType(String allowUnmarshallType) If enabled then Jackson is allowed to attempt to use the CamelJacksonUnmarshalType header during the unmarshalling.JsonDataFormat.Builder.autoDiscoverObjectMapper(boolean autoDiscoverObjectMapper) If set to true then Jackson will look for an objectMapper to use from the registryJsonDataFormat.Builder.autoDiscoverObjectMapper(String autoDiscoverObjectMapper) If set to true then Jackson will look for an objectMapper to use from the registryJsonDataFormat.Builder.autoDiscoverSchemaResolver(boolean autoDiscoverSchemaResolver) When not disabled, the SchemaResolver will be looked up into the registryJsonDataFormat.Builder.autoDiscoverSchemaResolver(String autoDiscoverSchemaResolver) When not disabled, the SchemaResolver will be looked up into the registryJsonDataFormat.Builder.collectionType(Class<?> collectionType) JsonDataFormat.Builder.collectionTypeName(String collectionTypeName) Refers to a custom collection type to lookup in the registry to use.JsonDataFormat.Builder.contentTypeHeader(boolean contentTypeHeader) Whether the data format should set the Content-Type header with the type from the data format.JsonDataFormat.Builder.contentTypeHeader(String contentTypeHeader) Whether the data format should set the Content-Type header with the type from the data format.JsonDataFormat.Builder.dateFormatPattern(String dateFormatPattern) To configure the date format while marshall or unmarshall Date fields in JSON using Gson.JsonDataFormat.Builder.disableFeatures(String disableFeatures) Set of features to disable on the Jackson com.fasterxml.jackson.databind.ObjectMapper.JsonDataFormat.Builder.enableFeatures(String enableFeatures) Set of features to enable on the Jackson com.fasterxml.jackson.databind.ObjectMapper.If you want to marshal a pojo to JSON, and the pojo has some fields with null values.When marshalling a POJO to JSON you might want to exclude certain fields from the JSON output.JsonDataFormat.Builder.jsonViewTypeName(String jsonViewTypeName) When marshalling a POJO to JSON you might want to exclude certain fields from the JSON output.JsonDataFormat.Builder.library(JsonLibrary library) Which json library to use.JsonDataFormat.Builder.moduleClassNames(String moduleClassNames) To use custom Jackson modules com.fasterxml.jackson.databind.Module specified as a String with FQN class names.JsonDataFormat.Builder.moduleRefs(String moduleRefs) To use custom Jackson modules referred from the Camel registry.JsonDataFormat.Builder.namingStrategy(String namingStrategy) If set then Jackson will use the the defined Property Naming Strategy.JsonDataFormat.Builder.objectMapper(String objectMapper) Lookup and use the existing ObjectMapper with the given id when using Jackson.JsonDataFormat.Builder.prettyPrint(boolean prettyPrint) To enable pretty printing output nicely formatted.JsonDataFormat.Builder.prettyPrint(String prettyPrint) To enable pretty printing output nicely formatted.JsonDataFormat.Builder.schemaResolver(String schemaResolver) Optional schema resolver used to lookup schemas for the data in transit.If set then Jackson will use the Timezone when marshalling/unmarshalling.JsonDataFormat.Builder.unmarshalType(Class<?> unmarshalType) Class of the java type to use when unmarshallingJsonDataFormat.Builder.unmarshalTypeName(String unmarshalTypeName) Class name of the java type to use when unmarshallingJsonDataFormat.Builder.useDefaultObjectMapper(boolean useDefaultObjectMapper) Whether to lookup and use default Jackson ObjectMapper from the registry.JsonDataFormat.Builder.useDefaultObjectMapper(String useDefaultObjectMapper) Whether to lookup and use default Jackson ObjectMapper from the registry.JsonDataFormat.Builder.useList(boolean useList) To unmarshal to a List of Map or a List of Pojo.To unmarshal to a List of Map or a List of Pojo.