org.springframework.boot.autoconfigure.jackson

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 Detail

      • JacksonProperties

        public JacksonProperties()
    • Method Detail

      • getDateFormat

        public String getDateFormat()
      • setDateFormat

        public void setDateFormat(String dateFormat)
      • getJodaDateTimeFormat

        public String getJodaDateTimeFormat()
      • setJodaDateTimeFormat

        public void setJodaDateTimeFormat(String jodaDataTimeFormat)
      • getPropertyNamingStrategy

        public String getPropertyNamingStrategy()
      • setPropertyNamingStrategy

        public void setPropertyNamingStrategy(String propertyNamingStrategy)
      • 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)
      • getTimeZone

        public TimeZone getTimeZone()
      • setTimeZone

        public void setTimeZone(TimeZone timeZone)
      • getLocale

        public Locale getLocale()
      • setLocale

        public void setLocale(Locale locale)