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 Classes
    Modifier and Type
    Class
    Description
    static enum 
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static class 
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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 String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @Nullable Boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @Nullable com.fasterxml.jackson.annotation.JsonInclude.Include
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Map<com.fasterxml.jackson.databind.DeserializationFeature, Boolean>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Map<com.fasterxml.jackson.core.JsonGenerator.Feature, Boolean>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @Nullable Locale
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Map<com.fasterxml.jackson.databind.MapperFeature, Boolean>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Map<com.fasterxml.jackson.core.JsonParser.Feature, Boolean>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @Nullable String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Map<com.fasterxml.jackson.databind.SerializationFeature, Boolean>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @Nullable TimeZone
    Deprecated, 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.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setDateFormat(@Nullable String dateFormat)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setDefaultLeniency(@Nullable Boolean defaultLeniency)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setDefaultPropertyInclusion(@Nullable com.fasterxml.jackson.annotation.JsonInclude.Include defaultPropertyInclusion)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setLocale(@Nullable Locale locale)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setPropertyNamingStrategy(@Nullable String propertyNamingStrategy)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setTimeZone(@Nullable TimeZone timeZone)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public void setDateFormat(@Nullable String dateFormat)
      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

      public void setPropertyNamingStrategy(@Nullable String propertyNamingStrategy)
      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

      public void setDefaultLeniency(@Nullable Boolean defaultLeniency)
      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

      public void setTimeZone(@Nullable TimeZone timeZone)
      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

      public void setLocale(@Nullable Locale locale)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getDatatype

      public Jackson2Properties.Datatype getDatatype()
      Deprecated, for removal: This API element is subject to removal in a future version.