Class Jackson2Properties
java.lang.Object
org.springframework.boot.jackson2.autoconfigure.Jackson2Properties
@Deprecated(since="4.0.0",
forRemoval=true)
@ConfigurationProperties("spring.jackson2")
public class Jackson2Properties
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.0.0 for removal in 4.2.0 in favor of Jackson 3.
Configuration properties to configure Jackson 2.
- Since:
- 4.0.0
- Author:
- Andy Wilkinson, Marcel Overdijk, Johannes Edmeier, EddĂș MelĂ©ndez
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDeprecated, for removal: This API element is subject to removal in a future version.static classDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.@Nullable StringDeprecated, for removal: This API element is subject to removal in a future version.@Nullable BooleanDeprecated, for removal: This API element is subject to removal in a future version.@Nullable com.fasterxml.jackson.annotation.JsonInclude.IncludeDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.@Nullable LocaleDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.@Nullable StringDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.@Nullable TimeZoneDeprecated, for removal: This API element is subject to removal in a future version.Map<com.fasterxml.jackson.annotation.PropertyAccessor, com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility> Deprecated, for removal: This API element is subject to removal in a future version.voidsetConstructorDetector(@Nullable Jackson2Properties.ConstructorDetectorStrategy constructorDetector) Deprecated, for removal: This API element is subject to removal in a future version.voidsetDateFormat(@Nullable String dateFormat) Deprecated, for removal: This API element is subject to removal in a future version.voidsetDefaultLeniency(@Nullable Boolean defaultLeniency) Deprecated, for removal: This API element is subject to removal in a future version.voidsetDefaultPropertyInclusion(@Nullable com.fasterxml.jackson.annotation.JsonInclude.Include defaultPropertyInclusion) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidsetPropertyNamingStrategy(@Nullable String propertyNamingStrategy) Deprecated, for removal: This API element is subject to removal in a future version.voidsetTimeZone(@Nullable TimeZone timeZone) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
Jackson2Properties
public Jackson2Properties()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getDateFormat
@DeprecatedConfigurationProperty(reason="Deprecated in favor of Jackson 3") public @Nullable String getDateFormat()Deprecated, for removal: This API element is subject to removal in a future version. -
setDateFormat
Deprecated, for removal: This API element is subject to removal in a future version. -
getPropertyNamingStrategy
@DeprecatedConfigurationProperty(reason="Deprecated in favor of Jackson 3") public @Nullable String getPropertyNamingStrategy()Deprecated, for removal: This API element is subject to removal in a future version. -
setPropertyNamingStrategy
Deprecated, for removal: This API element is subject to removal in a future version. -
getVisibility
@DeprecatedConfigurationProperty(reason="Deprecated in favor of Jackson 3") public Map<com.fasterxml.jackson.annotation.PropertyAccessor, com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility> getVisibility()Deprecated, for removal: This API element is subject to removal in a future version. -
getSerialization
@DeprecatedConfigurationProperty(reason="Deprecated in favor of Jackson 3") public Map<com.fasterxml.jackson.databind.SerializationFeature, Boolean> getSerialization()Deprecated, for removal: This API element is subject to removal in a future version. -
getDeserialization
@DeprecatedConfigurationProperty(reason="Deprecated in favor of Jackson 3") public Map<com.fasterxml.jackson.databind.DeserializationFeature, Boolean> getDeserialization()Deprecated, for removal: This API element is subject to removal in a future version. -
getMapper
@DeprecatedConfigurationProperty(reason="Deprecated in favor of Jackson 3") public Map<com.fasterxml.jackson.databind.MapperFeature, Boolean> getMapper()Deprecated, for removal: This API element is subject to removal in a future version. -
getParser
@DeprecatedConfigurationProperty(reason="Deprecated in favor of Jackson 3") public Map<com.fasterxml.jackson.core.JsonParser.Feature, Boolean> getParser()Deprecated, for removal: This API element is subject to removal in a future version. -
getGenerator
@DeprecatedConfigurationProperty(reason="Deprecated in favor of Jackson 3") public Map<com.fasterxml.jackson.core.JsonGenerator.Feature, Boolean> getGenerator()Deprecated, for removal: This API element is subject to removal in a future version. -
getDefaultPropertyInclusion
@DeprecatedConfigurationProperty(reason="Deprecated in favor of Jackson 3") public @Nullable com.fasterxml.jackson.annotation.JsonInclude.Include getDefaultPropertyInclusion()Deprecated, for removal: This API element is subject to removal in a future version. -
setDefaultPropertyInclusion
public void setDefaultPropertyInclusion(@Nullable com.fasterxml.jackson.annotation.JsonInclude.Include defaultPropertyInclusion) Deprecated, for removal: This API element is subject to removal in a future version. -
getDefaultLeniency
@DeprecatedConfigurationProperty(reason="Deprecated in favor of Jackson 3") public @Nullable Boolean getDefaultLeniency()Deprecated, for removal: This API element is subject to removal in a future version. -
setDefaultLeniency
Deprecated, for removal: This API element is subject to removal in a future version. -
getConstructorDetector
@DeprecatedConfigurationProperty(reason="Deprecated in favor of Jackson 3") public @Nullable Jackson2Properties.ConstructorDetectorStrategy getConstructorDetector()Deprecated, for removal: This API element is subject to removal in a future version. -
setConstructorDetector
public void setConstructorDetector(@Nullable Jackson2Properties.ConstructorDetectorStrategy constructorDetector) Deprecated, for removal: This API element is subject to removal in a future version. -
getTimeZone
@DeprecatedConfigurationProperty(reason="Deprecated in favor of Jackson 3") public @Nullable TimeZone getTimeZone()Deprecated, for removal: This API element is subject to removal in a future version. -
setTimeZone
Deprecated, for removal: This API element is subject to removal in a future version. -
getLocale
@DeprecatedConfigurationProperty(reason="Deprecated in favor of Jackson 3") public @Nullable Locale getLocale()Deprecated, for removal: This API element is subject to removal in a future version. -
setLocale
Deprecated, for removal: This API element is subject to removal in a future version. -
getDatatype
Deprecated, for removal: This API element is subject to removal in a future version.
-