@ConfigurationProperties(prefix="spring.jackson") public class JacksonProperties extends Object
Constructor and Description |
---|
JacksonProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getDateFormat() |
com.fasterxml.jackson.annotation.JsonInclude.Include |
getDefaultPropertyInclusion() |
Map<com.fasterxml.jackson.databind.DeserializationFeature,Boolean> |
getDeserialization() |
Map<com.fasterxml.jackson.core.JsonGenerator.Feature,Boolean> |
getGenerator() |
String |
getJodaDateTimeFormat()
Deprecated.
|
Locale |
getLocale() |
Map<com.fasterxml.jackson.databind.MapperFeature,Boolean> |
getMapper() |
Map<com.fasterxml.jackson.core.JsonParser.Feature,Boolean> |
getParser() |
String |
getPropertyNamingStrategy() |
Map<com.fasterxml.jackson.databind.SerializationFeature,Boolean> |
getSerialization() |
TimeZone |
getTimeZone() |
Map<com.fasterxml.jackson.annotation.PropertyAccessor,com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility> |
getVisibility() |
void |
setDateFormat(String dateFormat) |
void |
setDefaultPropertyInclusion(com.fasterxml.jackson.annotation.JsonInclude.Include defaultPropertyInclusion) |
void |
setJodaDateTimeFormat(String jodaDataTimeFormat) |
void |
setLocale(Locale locale) |
void |
setPropertyNamingStrategy(String propertyNamingStrategy) |
void |
setTimeZone(TimeZone timeZone) |
public String getDateFormat()
public void setDateFormat(String dateFormat)
@Deprecated @DeprecatedConfigurationProperty(replacement="dateFormat", reason="Auto-configuration for Jackson\'s Joda-Time integration is deprecated in favor of its Java 8 Time integration") public String getJodaDateTimeFormat()
public void setJodaDateTimeFormat(String jodaDataTimeFormat)
public String getPropertyNamingStrategy()
public void setPropertyNamingStrategy(String propertyNamingStrategy)
public Map<com.fasterxml.jackson.annotation.PropertyAccessor,com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility> getVisibility()
public Map<com.fasterxml.jackson.databind.SerializationFeature,Boolean> getSerialization()
public Map<com.fasterxml.jackson.databind.DeserializationFeature,Boolean> getDeserialization()
public com.fasterxml.jackson.annotation.JsonInclude.Include getDefaultPropertyInclusion()
public void setDefaultPropertyInclusion(com.fasterxml.jackson.annotation.JsonInclude.Include defaultPropertyInclusion)
public TimeZone getTimeZone()
public void setTimeZone(TimeZone timeZone)
public Locale getLocale()
public void setLocale(Locale locale)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.