Class Jackson2ObjectMapperBuilder
ObjectMapper instances with a fluent API.
It customizes Jackson's default properties with the following ones:
MapperFeature.DEFAULT_VIEW_INCLUSIONis disabledDeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIESis disabled
It also automatically registers the following well-known modules if they are detected on the classpath:
- jackson-datatype-jdk8:
support for other Java 8 types like
Optional - jackson-datatype-jsr310: support for Java 8 Date & Time API types
- jackson-module-kotlin: support for Kotlin classes and data classes
- jackson-modules-java8/parameter-names: support for accessing parameter names
- Since:
- 4.1.1
- Author:
- Sebastien Deleuze, Juergen Hoeller, Tadaya Tsuyukubo, EddĂș MelĂ©ndez, Hyoungjune Kim
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionannotationIntrospector(com.fasterxml.jackson.databind.AnnotationIntrospector annotationIntrospector) Deprecated, for removal: This API element is subject to removal in a future version.Set anAnnotationIntrospectorfor both serialization and deserialization.annotationIntrospector(Function<@Nullable com.fasterxml.jackson.databind.AnnotationIntrospector, @Nullable com.fasterxml.jackson.databind.AnnotationIntrospector> pairingFunction) Deprecated, for removal: This API element is subject to removal in a future version.Alternative toannotationIntrospector(AnnotationIntrospector)that allows combining with rather than replacing the currently set introspector, for example, viaAnnotationIntrospector.pair(AnnotationIntrospector, AnnotationIntrospector).applicationContext(ApplicationContext applicationContext) Deprecated, for removal: This API element is subject to removal in a future version.Set the SpringApplicationContextin order to autowire Jackson handlers (JsonSerializer,JsonDeserializer,KeyDeserializer,TypeResolverBuilderandTypeIdResolver).autoDetectFields(boolean autoDetectFields) Deprecated, for removal: This API element is subject to removal in a future version.Shortcut forMapperFeature.AUTO_DETECT_FIELDSoption.autoDetectGettersSetters(boolean autoDetectGettersSetters) Deprecated, for removal: This API element is subject to removal in a future version.Shortcut forMapperFeature.AUTO_DETECT_SETTERS/MapperFeature.AUTO_DETECT_GETTERS/MapperFeature.AUTO_DETECT_IS_GETTERSoptions.<T extends com.fasterxml.jackson.databind.ObjectMapper>
Tbuild()Deprecated, for removal: This API element is subject to removal in a future version.Build a newObjectMapperinstance.static Jackson2ObjectMapperBuildercbor()Deprecated, for removal: This API element is subject to removal in a future version.Obtain aJackson2ObjectMapperBuilderinstance in order to build a CBOR data formatObjectMapperinstance.voidconfigure(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Deprecated, for removal: This API element is subject to removal in a future version.Configure an existingObjectMapperinstance with this builder's settings.createXmlMapper(boolean createXmlMapper) Deprecated, for removal: This API element is subject to removal in a future version.If set totrue, anXmlMapperwill be created using its default constructor.dateFormat(DateFormat dateFormat) Deprecated, for removal: This API element is subject to removal in a future version.Define the format for date/time with the givenDateFormat.defaultTyping(com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<?> typeResolverBuilder) Deprecated, for removal: This API element is subject to removal in a future version.Specify aTypeResolverBuilderto use for Jackson's default typing.defaultUseWrapper(boolean defaultUseWrapper) Deprecated, for removal: This API element is subject to removal in a future version.Define if a wrapper will be used for indexed (List, array) properties or not by default (only applies toXmlMapper).defaultViewInclusion(boolean defaultViewInclusion) Deprecated, for removal: This API element is subject to removal in a future version.Shortcut forMapperFeature.DEFAULT_VIEW_INCLUSIONoption.deserializerByType(Class<?> type, com.fasterxml.jackson.databind.JsonDeserializer<?> deserializer) Deprecated, for removal: This API element is subject to removal in a future version.Configure a custom deserializer for the given type.deserializers(com.fasterxml.jackson.databind.JsonDeserializer<?>... deserializers) Deprecated, for removal: This API element is subject to removal in a future version.Configure custom deserializers.deserializersByType(Map<Class<?>, com.fasterxml.jackson.databind.JsonDeserializer<?>> deserializers) Deprecated, for removal: This API element is subject to removal in a future version.Configure custom deserializers for the given types.factory(com.fasterxml.jackson.core.JsonFactory factory) Deprecated, for removal: This API element is subject to removal in a future version.Define theJsonFactoryto be used to create theObjectMapperinstance.failOnEmptyBeans(boolean failOnEmptyBeans) Deprecated, for removal: This API element is subject to removal in a future version.Shortcut forSerializationFeature.FAIL_ON_EMPTY_BEANSoption.failOnUnknownProperties(boolean failOnUnknownProperties) Deprecated, for removal: This API element is subject to removal in a future version.Shortcut forDeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIESoption.featuresToDisable(Object... featuresToDisable) Deprecated, for removal: This API element is subject to removal in a future version.Specify features to disable.featuresToEnable(Object... featuresToEnable) Deprecated, for removal: This API element is subject to removal in a future version.Specify features to enable.filters(com.fasterxml.jackson.databind.ser.FilterProvider filters) Deprecated, for removal: This API element is subject to removal in a future version.Set the global filters to use in order to support@JsonFilterannotated POJO.findModulesViaServiceLoader(boolean findModules) Deprecated, for removal: This API element is subject to removal in a future version.Set whether to let Jackson find available modules via the JDK ServiceLoader, based on META-INF metadata in the classpath.handlerInstantiator(com.fasterxml.jackson.databind.cfg.HandlerInstantiator handlerInstantiator) Deprecated, for removal: This API element is subject to removal in a future version.Customize the construction of Jackson handlers (JsonSerializer,JsonDeserializer,KeyDeserializer,TypeResolverBuilderandTypeIdResolver).indentOutput(boolean indentOutput) Deprecated, for removal: This API element is subject to removal in a future version.Shortcut forSerializationFeature.INDENT_OUTPUToption.static Jackson2ObjectMapperBuilderjson()Deprecated, for removal: This API element is subject to removal in a future version.Obtain aJackson2ObjectMapperBuilderinstance in order to build a regular JSONObjectMapperinstance.Deprecated, for removal: This API element is subject to removal in a future version.Override the defaultLocaleto use for formatting.Deprecated, for removal: This API element is subject to removal in a future version.Override the defaultLocaleto use for formatting.Deprecated, for removal: This API element is subject to removal in a future version.Add mix-in annotations to use for augmenting specified class or interface.Deprecated, for removal: This API element is subject to removal in a future version.Add mix-in annotations to use for augmenting specified class or interface.moduleClassLoader(ClassLoader moduleClassLoader) Deprecated, for removal: This API element is subject to removal in a future version.Set the ClassLoader to use for loading Jackson extension modules.modules(com.fasterxml.jackson.databind.Module... modules) Deprecated, for removal: This API element is subject to removal in a future version.Specify the modules to be registered with theObjectMapper.Deprecated, for removal: This API element is subject to removal in a future version.Variant ofmodules(Module...)with aConsumerfor full control over the underlying list of modules.Deprecated, for removal: This API element is subject to removal in a future version.Variant ofmodules(Module...)with aList.modulesToInstall(com.fasterxml.jackson.databind.Module... modules) Deprecated, for removal: This API element is subject to removal in a future version.Specify one or more modules to be registered with theObjectMapper.modulesToInstall(Class<? extends com.fasterxml.jackson.databind.Module>... modules) Deprecated, for removal: This API element is subject to removal in a future version.Specify one or more modules by class to be registered with theObjectMapper.modulesToInstall(Consumer<List<com.fasterxml.jackson.databind.Module>> consumer) Deprecated, for removal: This API element is subject to removal in a future version.Variant ofmodulesToInstall(Module...)with aConsumerfor full control over the underlying list of modules.postConfigurer(Consumer<com.fasterxml.jackson.databind.ObjectMapper> configurer) Deprecated, for removal: This API element is subject to removal in a future version.An option to apply additional customizations directly to theObjectMapperinstances at the end, after all other config properties of the builder have been applied.propertyNamingStrategy(com.fasterxml.jackson.databind.PropertyNamingStrategy propertyNamingStrategy) Deprecated, for removal: This API element is subject to removal in a future version.Specify aPropertyNamingStrategyto configure theObjectMapperwith.serializationInclusion(com.fasterxml.jackson.annotation.JsonInclude.Include inclusion) Deprecated, for removal: This API element is subject to removal in a future version.Set a custom inclusion strategy for serialization.serializationInclusion(com.fasterxml.jackson.annotation.JsonInclude.Value serializationInclusion) Deprecated, for removal: This API element is subject to removal in a future version.Set a custom inclusion strategy for serialization.serializerByType(Class<?> type, com.fasterxml.jackson.databind.JsonSerializer<?> serializer) Deprecated, for removal: This API element is subject to removal in a future version.Configure a custom serializer for the given type.serializers(com.fasterxml.jackson.databind.JsonSerializer<?>... serializers) Deprecated, for removal: This API element is subject to removal in a future version.Configure custom serializers.serializersByType(Map<Class<?>, com.fasterxml.jackson.databind.JsonSerializer<?>> serializers) Deprecated, for removal: This API element is subject to removal in a future version.Configure custom serializers for the given types.simpleDateFormat(String format) Deprecated, for removal: This API element is subject to removal in a future version.Define the date/time format with aSimpleDateFormat.static Jackson2ObjectMapperBuildersmile()Deprecated, for removal: This API element is subject to removal in a future version.Obtain aJackson2ObjectMapperBuilderinstance in order to build a Smile data formatObjectMapperinstance.Deprecated, for removal: This API element is subject to removal in a future version.Override the defaultTimeZoneto use for formatting.Deprecated, for removal: This API element is subject to removal in a future version.Override the defaultTimeZoneto use for formatting.visibility(com.fasterxml.jackson.annotation.PropertyAccessor accessor, com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility visibility) Deprecated, for removal: This API element is subject to removal in a future version.Specify visibility to limit what kind of properties are auto-detected.static Jackson2ObjectMapperBuilderxml()Deprecated, for removal: This API element is subject to removal in a future version.Obtain aJackson2ObjectMapperBuilderinstance in order to build anXmlMapperinstance.static Jackson2ObjectMapperBuilderyaml()Deprecated, for removal: This API element is subject to removal in a future version.Obtain aJackson2ObjectMapperBuilderinstance in order to build a YAML data formatObjectMapperinstance.
-
Constructor Details
-
Jackson2ObjectMapperBuilder
public Jackson2ObjectMapperBuilder()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
createXmlMapper
Deprecated, for removal: This API element is subject to removal in a future version.If set totrue, anXmlMapperwill be created using its default constructor. This is only applicable tobuild()calls, not toconfigure(ObjectMapper)calls. -
factory
Deprecated, for removal: This API element is subject to removal in a future version.Define theJsonFactoryto be used to create theObjectMapperinstance.- Since:
- 5.0
-
dateFormat
Deprecated, for removal: This API element is subject to removal in a future version.Define the format for date/time with the givenDateFormat.Note: Setting this property makes the exposed
ObjectMappernon-thread-safe, according to Jackson's thread safety rules.- See Also:
-
simpleDateFormat
Deprecated, for removal: This API element is subject to removal in a future version.Define the date/time format with aSimpleDateFormat.Note: Setting this property makes the exposed
ObjectMappernon-thread-safe, according to Jackson's thread safety rules.- See Also:
-
locale
Deprecated, for removal: This API element is subject to removal in a future version.Override the defaultLocaleto use for formatting.Default value used is
Locale.getDefault().- Since:
- 4.1.5
-
locale
Deprecated, for removal: This API element is subject to removal in a future version.Override the defaultLocaleto use for formatting.Default value used is
Locale.getDefault().- Parameters:
localeString- the locale ID as a String representation- Since:
- 4.1.5
-
timeZone
Deprecated, for removal: This API element is subject to removal in a future version.Override the defaultTimeZoneto use for formatting.Default value used is UTC (NOT local timezone).
- Since:
- 4.1.5
-
timeZone
Deprecated, for removal: This API element is subject to removal in a future version.Override the defaultTimeZoneto use for formatting.Default value used is UTC (NOT local timezone).
- Parameters:
timeZoneString- the zone ID as a String representation- Since:
- 4.1.5
-
annotationIntrospector
public Jackson2ObjectMapperBuilder annotationIntrospector(com.fasterxml.jackson.databind.AnnotationIntrospector annotationIntrospector) Deprecated, for removal: This API element is subject to removal in a future version.Set anAnnotationIntrospectorfor both serialization and deserialization. -
annotationIntrospector
public Jackson2ObjectMapperBuilder annotationIntrospector(Function<@Nullable com.fasterxml.jackson.databind.AnnotationIntrospector, @Nullable com.fasterxml.jackson.databind.AnnotationIntrospector> pairingFunction) Deprecated, for removal: This API element is subject to removal in a future version.Alternative toannotationIntrospector(AnnotationIntrospector)that allows combining with rather than replacing the currently set introspector, for example, viaAnnotationIntrospector.pair(AnnotationIntrospector, AnnotationIntrospector).- Parameters:
pairingFunction- a function to apply to the currently set introspector (possiblynull); the result of the function becomes the new introspector.- Since:
- 5.2.4
-
propertyNamingStrategy
public Jackson2ObjectMapperBuilder propertyNamingStrategy(com.fasterxml.jackson.databind.PropertyNamingStrategy propertyNamingStrategy) Deprecated, for removal: This API element is subject to removal in a future version.Specify aPropertyNamingStrategyto configure theObjectMapperwith. -
defaultTyping
public Jackson2ObjectMapperBuilder defaultTyping(com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<?> typeResolverBuilder) Deprecated, for removal: This API element is subject to removal in a future version.Specify aTypeResolverBuilderto use for Jackson's default typing.- Since:
- 4.2.2
-
serializationInclusion
public Jackson2ObjectMapperBuilder serializationInclusion(com.fasterxml.jackson.annotation.JsonInclude.Include inclusion) Deprecated, for removal: This API element is subject to removal in a future version.Set a custom inclusion strategy for serialization.- See Also:
-
serializationInclusion
public Jackson2ObjectMapperBuilder serializationInclusion(com.fasterxml.jackson.annotation.JsonInclude.Value serializationInclusion) Deprecated, for removal: This API element is subject to removal in a future version.Set a custom inclusion strategy for serialization.- Since:
- 5.3
- See Also:
-
filters
public Jackson2ObjectMapperBuilder filters(com.fasterxml.jackson.databind.ser.FilterProvider filters) Deprecated, for removal: This API element is subject to removal in a future version.Set the global filters to use in order to support@JsonFilterannotated POJO.- Since:
- 4.2
- See Also:
-
mixIn
Deprecated, for removal: This API element is subject to removal in a future version.Add mix-in annotations to use for augmenting specified class or interface.- Parameters:
target- class (or interface) whose annotations to effectively overridemixinSource- class (or interface) whose annotations are to be "added" to target's annotations as value- Since:
- 4.1.2
- See Also:
-
mixIns
Deprecated, for removal: This API element is subject to removal in a future version.Add mix-in annotations to use for augmenting specified class or interface.- Parameters:
mixIns- a Map of entries with target classes (or interface) whose annotations to effectively override as key and mix-in classes (or interface) whose annotations are to be "added" to target's annotations as value.- Since:
- 4.1.2
- See Also:
-
serializers
public Jackson2ObjectMapperBuilder serializers(com.fasterxml.jackson.databind.JsonSerializer<?>... serializers) Deprecated, for removal: This API element is subject to removal in a future version.Configure custom serializers. Each serializer is registered for the type returned byJsonSerializer.handledType(), which must not benull.- See Also:
-
serializerByType
public Jackson2ObjectMapperBuilder serializerByType(Class<?> type, com.fasterxml.jackson.databind.JsonSerializer<?> serializer) Deprecated, for removal: This API element is subject to removal in a future version.Configure a custom serializer for the given type.- Since:
- 4.1.2
- See Also:
-
serializersByType
public Jackson2ObjectMapperBuilder serializersByType(Map<Class<?>, com.fasterxml.jackson.databind.JsonSerializer<?>> serializers) Deprecated, for removal: This API element is subject to removal in a future version.Configure custom serializers for the given types.- See Also:
-
deserializers
public Jackson2ObjectMapperBuilder deserializers(com.fasterxml.jackson.databind.JsonDeserializer<?>... deserializers) Deprecated, for removal: This API element is subject to removal in a future version.Configure custom deserializers. Each deserializer is registered for the type returned byJsonDeserializer.handledType(), which must not benull.- Since:
- 4.3
- See Also:
-
deserializerByType
public Jackson2ObjectMapperBuilder deserializerByType(Class<?> type, com.fasterxml.jackson.databind.JsonDeserializer<?> deserializer) Deprecated, for removal: This API element is subject to removal in a future version.Configure a custom deserializer for the given type.- Since:
- 4.1.2
-
deserializersByType
public Jackson2ObjectMapperBuilder deserializersByType(Map<Class<?>, com.fasterxml.jackson.databind.JsonDeserializer<?>> deserializers) Deprecated, for removal: This API element is subject to removal in a future version.Configure custom deserializers for the given types. -
autoDetectFields
Deprecated, for removal: This API element is subject to removal in a future version.Shortcut forMapperFeature.AUTO_DETECT_FIELDSoption. -
autoDetectGettersSetters
Deprecated, for removal: This API element is subject to removal in a future version.Shortcut forMapperFeature.AUTO_DETECT_SETTERS/MapperFeature.AUTO_DETECT_GETTERS/MapperFeature.AUTO_DETECT_IS_GETTERSoptions. -
defaultViewInclusion
Deprecated, for removal: This API element is subject to removal in a future version.Shortcut forMapperFeature.DEFAULT_VIEW_INCLUSIONoption. -
failOnUnknownProperties
Deprecated, for removal: This API element is subject to removal in a future version.Shortcut forDeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIESoption. -
failOnEmptyBeans
Deprecated, for removal: This API element is subject to removal in a future version.Shortcut forSerializationFeature.FAIL_ON_EMPTY_BEANSoption. -
indentOutput
Deprecated, for removal: This API element is subject to removal in a future version.Shortcut forSerializationFeature.INDENT_OUTPUToption. -
defaultUseWrapper
Deprecated, for removal: This API element is subject to removal in a future version.Define if a wrapper will be used for indexed (List, array) properties or not by default (only applies toXmlMapper).- Since:
- 4.3
-
visibility
public Jackson2ObjectMapperBuilder visibility(com.fasterxml.jackson.annotation.PropertyAccessor accessor, com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility visibility) Deprecated, for removal: This API element is subject to removal in a future version.Specify visibility to limit what kind of properties are auto-detected.- Since:
- 5.1
- See Also:
-
featuresToEnable
Deprecated, for removal: This API element is subject to removal in a future version.Specify features to enable.- See Also:
-
featuresToDisable
Deprecated, for removal: This API element is subject to removal in a future version.Specify features to disable.- See Also:
-
modules
Deprecated, for removal: This API element is subject to removal in a future version.Specify the modules to be registered with theObjectMapper.Multiple invocations are not additive; the last one defines the modules to register.
Note: If this is set, autodetection of modules will not occur — not by Jackson, and not by Spring either (see
findModulesViaServiceLoader). As a consequence, specifying an empty list here will suppress any kind of module detection.Specify either this or
modulesToInstall(Module...), not both.- Since:
- 4.1.5
- See Also:
-
modules
Deprecated, for removal: This API element is subject to removal in a future version.Variant ofmodules(Module...)with aList.- See Also:
-
modules
public Jackson2ObjectMapperBuilder modules(Consumer<List<com.fasterxml.jackson.databind.Module>> consumer) Deprecated, for removal: This API element is subject to removal in a future version.Variant ofmodules(Module...)with aConsumerfor full control over the underlying list of modules.- Since:
- 5.3.22
- See Also:
-
modulesToInstall
public Jackson2ObjectMapperBuilder modulesToInstall(com.fasterxml.jackson.databind.Module... modules) Deprecated, for removal: This API element is subject to removal in a future version.Specify one or more modules to be registered with theObjectMapper.Multiple invocations are not additive; the last one defines the modules to register.
Modules specified here will be registered after Spring's autodetection of JSR-310, or Jackson's finding of modules (see
findModulesViaServiceLoader), allowing to eventually override their configuration.Specify either this or
modules(Module...), not both.- Since:
- 4.1.5
- See Also:
-
modulesToInstall
public Jackson2ObjectMapperBuilder modulesToInstall(Consumer<List<com.fasterxml.jackson.databind.Module>> consumer) Deprecated, for removal: This API element is subject to removal in a future version.Variant ofmodulesToInstall(Module...)with aConsumerfor full control over the underlying list of modules.- Since:
- 5.3.22
- See Also:
-
modulesToInstall
@SafeVarargs public final Jackson2ObjectMapperBuilder modulesToInstall(Class<? extends com.fasterxml.jackson.databind.Module>... modules) Deprecated, for removal: This API element is subject to removal in a future version.Specify one or more modules by class to be registered with theObjectMapper.Multiple invocations are not additive; the last one defines the modules to register.
Modules specified here will be registered after Spring's autodetection of JSR-310, or Jackson's finding of modules (see
findModulesViaServiceLoader), allowing to eventually override their configuration.Specify either this or
modules(Module...), not both.- See Also:
-
findModulesViaServiceLoader
Deprecated, for removal: This API element is subject to removal in a future version.Set whether to let Jackson find available modules via the JDK ServiceLoader, based on META-INF metadata in the classpath.If this mode is not set, Spring's Jackson2ObjectMapperBuilder itself will try to find the JSR-310 support module on the classpath.
- See Also:
-
moduleClassLoader
Deprecated, for removal: This API element is subject to removal in a future version.Set the ClassLoader to use for loading Jackson extension modules. -
handlerInstantiator
public Jackson2ObjectMapperBuilder handlerInstantiator(com.fasterxml.jackson.databind.cfg.HandlerInstantiator handlerInstantiator) Deprecated, for removal: This API element is subject to removal in a future version.Customize the construction of Jackson handlers (JsonSerializer,JsonDeserializer,KeyDeserializer,TypeResolverBuilderandTypeIdResolver).- Since:
- 4.1.3
- See Also:
-
applicationContext
Deprecated, for removal: This API element is subject to removal in a future version.Set the SpringApplicationContextin order to autowire Jackson handlers (JsonSerializer,JsonDeserializer,KeyDeserializer,TypeResolverBuilderandTypeIdResolver).- Since:
- 4.1.3
- See Also:
-
postConfigurer
public Jackson2ObjectMapperBuilder postConfigurer(Consumer<com.fasterxml.jackson.databind.ObjectMapper> configurer) Deprecated, for removal: This API element is subject to removal in a future version.An option to apply additional customizations directly to theObjectMapperinstances at the end, after all other config properties of the builder have been applied.- Parameters:
configurer- a configurer to apply. If several configurers are registered, they will get applied in their registration order.- Since:
- 5.3
-
build
public <T extends com.fasterxml.jackson.databind.ObjectMapper> T build()Deprecated, for removal: This API element is subject to removal in a future version.Build a newObjectMapperinstance.Each build operation produces an independent
ObjectMapperinstance. The builder's settings can get modified, with a subsequent build operation then producing a newObjectMapperbased on the most recent settings.- Returns:
- the newly built ObjectMapper
-
configure
public void configure(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Deprecated, for removal: This API element is subject to removal in a future version.Configure an existingObjectMapperinstance with this builder's settings. This can be applied to any number ofObjectMappers.- Parameters:
objectMapper- the ObjectMapper to configure
-
json
Deprecated, for removal: This API element is subject to removal in a future version.Obtain aJackson2ObjectMapperBuilderinstance in order to build a regular JSONObjectMapperinstance. -
xml
Deprecated, for removal: This API element is subject to removal in a future version.Obtain aJackson2ObjectMapperBuilderinstance in order to build anXmlMapperinstance. -
smile
Deprecated, for removal: This API element is subject to removal in a future version.Obtain aJackson2ObjectMapperBuilderinstance in order to build a Smile data formatObjectMapperinstance.- Since:
- 5.0
-
cbor
Deprecated, for removal: This API element is subject to removal in a future version.Obtain aJackson2ObjectMapperBuilderinstance in order to build a CBOR data formatObjectMapperinstance.- Since:
- 5.0
-
yaml
Deprecated, for removal: This API element is subject to removal in a future version.Obtain aJackson2ObjectMapperBuilderinstance in order to build a YAML data formatObjectMapperinstance.- Since:
- 6.2
-
JsonMapper.builder()