Class JacksonProperties
java.lang.Object
org.springframework.boot.autoconfigure.jackson.JacksonProperties
Configuration properties to configure Jackson.
- Since:
- 1.2.0
- Author:
- Andy Wilkinson, Marcel Overdijk, Johannes Edmeier
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.annotation.JsonInclude.Include
Map<com.fasterxml.jackson.annotation.PropertyAccessor,
com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility> void
setConstructorDetector
(JacksonProperties.ConstructorDetectorStrategy constructorDetector) void
setDateFormat
(String dateFormat) void
setDefaultLeniency
(Boolean defaultLeniency) void
setDefaultPropertyInclusion
(com.fasterxml.jackson.annotation.JsonInclude.Include defaultPropertyInclusion) void
void
setPropertyNamingStrategy
(String propertyNamingStrategy) void
setTimeZone
(TimeZone timeZone)
-
Constructor Details
-
JacksonProperties
public JacksonProperties()
-
-
Method Details
-
getDateFormat
-
setDateFormat
-
getPropertyNamingStrategy
-
setPropertyNamingStrategy
-
getVisibility
public Map<com.fasterxml.jackson.annotation.PropertyAccessor,com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility> getVisibility() -
getSerialization
-
getDeserialization
-
getMapper
-
getParser
-
getGenerator
-
getDefaultPropertyInclusion
public com.fasterxml.jackson.annotation.JsonInclude.Include getDefaultPropertyInclusion() -
setDefaultPropertyInclusion
public void setDefaultPropertyInclusion(com.fasterxml.jackson.annotation.JsonInclude.Include defaultPropertyInclusion) -
getDefaultLeniency
-
setDefaultLeniency
-
getConstructorDetector
-
setConstructorDetector
public void setConstructorDetector(JacksonProperties.ConstructorDetectorStrategy constructorDetector) -
getTimeZone
-
setTimeZone
-
getLocale
-
setLocale
-