Uses of Class
org.springframework.http.converter.json.Jackson2ObjectMapperBuilder

Packages that use Jackson2ObjectMapperBuilder
Package
Description
Provides HttpMessageConverter implementations for handling JSON.
  • Uses of Jackson2ObjectMapperBuilder in org.springframework.http.converter.json

    Modifier and Type
    Method
    Description
    Jackson2ObjectMapperBuilder.annotationIntrospector(com.fasterxml.jackson.databind.AnnotationIntrospector annotationIntrospector)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Set an AnnotationIntrospector for both serialization and deserialization.
    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 to annotationIntrospector(AnnotationIntrospector) that allows combining with rather than replacing the currently set introspector, for example, via AnnotationIntrospector.pair(AnnotationIntrospector, AnnotationIntrospector).
    Jackson2ObjectMapperBuilder.applicationContext(ApplicationContext applicationContext)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Set the Spring ApplicationContext in order to autowire Jackson handlers (JsonSerializer, JsonDeserializer, KeyDeserializer, TypeResolverBuilder and TypeIdResolver).
    Jackson2ObjectMapperBuilder.autoDetectFields(boolean autoDetectFields)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Shortcut for MapperFeature.AUTO_DETECT_FIELDS option.
    Jackson2ObjectMapperBuilder.autoDetectGettersSetters(boolean autoDetectGettersSetters)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Shortcut for MapperFeature.AUTO_DETECT_SETTERS/ MapperFeature.AUTO_DETECT_GETTERS/MapperFeature.AUTO_DETECT_IS_GETTERS options.
    Jackson2ObjectMapperBuilder.cbor()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Obtain a Jackson2ObjectMapperBuilder instance in order to build a CBOR data format ObjectMapper instance.
    Jackson2ObjectMapperBuilder.createXmlMapper(boolean createXmlMapper)
    Deprecated, for removal: This API element is subject to removal in a future version.
    If set to true, an XmlMapper will be created using its default constructor.
    Jackson2ObjectMapperBuilder.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 given DateFormat.
    Jackson2ObjectMapperBuilder.defaultTyping(com.fasterxml.jackson.databind.jsontype.TypeResolverBuilder<?> typeResolverBuilder)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Specify a TypeResolverBuilder to use for Jackson's default typing.
    Jackson2ObjectMapperBuilder.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 to XmlMapper).
    Jackson2ObjectMapperBuilder.defaultViewInclusion(boolean defaultViewInclusion)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Shortcut for MapperFeature.DEFAULT_VIEW_INCLUSION option.
    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.
    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.
    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.
    Jackson2ObjectMapperBuilder.factory(com.fasterxml.jackson.core.JsonFactory factory)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Define the JsonFactory to be used to create the ObjectMapper instance.
    Jackson2ObjectMapperBuilder.failOnEmptyBeans(boolean failOnEmptyBeans)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Shortcut for SerializationFeature.FAIL_ON_EMPTY_BEANS option.
    Jackson2ObjectMapperBuilder.failOnUnknownProperties(boolean failOnUnknownProperties)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Shortcut for DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES option.
    Jackson2ObjectMapperBuilder.featuresToDisable(Object... featuresToDisable)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Specify features to disable.
    Jackson2ObjectMapperBuilder.featuresToEnable(Object... featuresToEnable)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Specify features to enable.
    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 @JsonFilter annotated POJO.
    Jackson2ObjectMapperBuilder.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.
    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, TypeResolverBuilder and TypeIdResolver).
    Jackson2ObjectMapperBuilder.indentOutput(boolean indentOutput)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Shortcut for SerializationFeature.INDENT_OUTPUT option.
    Jackson2ObjectMapperBuilder.json()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Obtain a Jackson2ObjectMapperBuilder instance in order to build a regular JSON ObjectMapper instance.
    Jackson2ObjectMapperBuilder.locale(String localeString)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Override the default Locale to use for formatting.
    Jackson2ObjectMapperBuilder.locale(Locale locale)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Override the default Locale to use for formatting.
    Jackson2ObjectMapperBuilder.mixIn(Class<?> target, Class<?> mixinSource)
    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.
    Jackson2ObjectMapperBuilder.mixIns(Map<Class<?>,Class<?>> 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.
    Jackson2ObjectMapperBuilder.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.
    Jackson2ObjectMapperBuilder.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 the ObjectMapper.
    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 of modules(Module...) with a Consumer for full control over the underlying list of modules.
    Jackson2ObjectMapperBuilder.modules(List<com.fasterxml.jackson.databind.Module> modules)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Variant of modules(Module...) with a List.
    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 the ObjectMapper.
    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 the ObjectMapper.
    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 of modulesToInstall(Module...) with a Consumer for full control over the underlying list of modules.
    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 the ObjectMapper instances at the end, after all other config properties of the builder have been applied.
    Jackson2ObjectMapperBuilder.propertyNamingStrategy(com.fasterxml.jackson.databind.PropertyNamingStrategy propertyNamingStrategy)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Specify a PropertyNamingStrategy to configure the ObjectMapper with.
    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.
    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.
    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.
    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.
    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.
    Jackson2ObjectMapperBuilder.simpleDateFormat(String format)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Define the date/time format with a SimpleDateFormat.
    Jackson2ObjectMapperBuilder.smile()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Obtain a Jackson2ObjectMapperBuilder instance in order to build a Smile data format ObjectMapper instance.
    Jackson2ObjectMapperBuilder.timeZone(String timeZoneString)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Override the default TimeZone to use for formatting.
    Jackson2ObjectMapperBuilder.timeZone(TimeZone timeZone)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Override the default TimeZone to use for formatting.
    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.
    Jackson2ObjectMapperBuilder.xml()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Obtain a Jackson2ObjectMapperBuilder instance in order to build an XmlMapper instance.
    Jackson2ObjectMapperBuilder.yaml()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Obtain a Jackson2ObjectMapperBuilder instance in order to build a YAML data format ObjectMapper instance.