Class JacksonProperties

java.lang.Object
org.springframework.boot.autoconfigure.jackson.JacksonProperties

@ConfigurationProperties(prefix="spring.jackson") public class JacksonProperties extends Object
Configuration properties to configure Jackson.
Since:
1.2.0
Author:
Andy Wilkinson, Marcel Overdijk, Johannes Edmeier
  • Constructor Details

    • JacksonProperties

      public JacksonProperties()
  • Method Details

    • getDateFormat

      public String getDateFormat()
    • setDateFormat

      public void setDateFormat(String dateFormat)
    • getPropertyNamingStrategy

      public String getPropertyNamingStrategy()
    • setPropertyNamingStrategy

      public void setPropertyNamingStrategy(String propertyNamingStrategy)
    • getVisibility

      public Map<com.fasterxml.jackson.annotation.PropertyAccessor,com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility> getVisibility()
    • getSerialization

      public Map<com.fasterxml.jackson.databind.SerializationFeature,Boolean> getSerialization()
    • getDeserialization

      public Map<com.fasterxml.jackson.databind.DeserializationFeature,Boolean> getDeserialization()
    • getMapper

      public Map<com.fasterxml.jackson.databind.MapperFeature,Boolean> getMapper()
    • getParser

      public Map<com.fasterxml.jackson.core.JsonParser.Feature,Boolean> getParser()
    • getGenerator

      public Map<com.fasterxml.jackson.core.JsonGenerator.Feature,Boolean> getGenerator()
    • getDefaultPropertyInclusion

      public com.fasterxml.jackson.annotation.JsonInclude.Include getDefaultPropertyInclusion()
    • setDefaultPropertyInclusion

      public void setDefaultPropertyInclusion(com.fasterxml.jackson.annotation.JsonInclude.Include defaultPropertyInclusion)
    • getDefaultLeniency

      public Boolean getDefaultLeniency()
    • setDefaultLeniency

      public void setDefaultLeniency(Boolean defaultLeniency)
    • getConstructorDetector

      public JacksonProperties.ConstructorDetectorStrategy getConstructorDetector()
    • setConstructorDetector

      public void setConstructorDetector(JacksonProperties.ConstructorDetectorStrategy constructorDetector)
    • getTimeZone

      public TimeZone getTimeZone()
    • setTimeZone

      public void setTimeZone(TimeZone timeZone)
    • getLocale

      public Locale getLocale()
    • setLocale

      public void setLocale(Locale locale)