public interface Jackson2Configurator<T extends Enum<T> & Jackson2Configurator<T>>
Modifier and Type | Interface and Description |
---|---|
static class |
Jackson2Configurator.BuildinJackson2Configurators
Build-in jackson2 configurators.
|
Modifier and Type | Field and Description |
---|---|
static String |
JACKSON_JAXB_ENABLED |
static String |
XMLMAPPER_CLASSNAME |
Modifier and Type | Method and Description |
---|---|
<M extends com.fasterxml.jackson.databind.ObjectMapper> |
config(org.springframework.core.env.PropertyResolver propertyResolver,
M mapper) |
default Optional<Class<?>> |
findClass(String className) |
static Object |
getEnumValue(Class<?> enumType,
String name) |
default Optional<String> |
getProperty(org.springframework.core.env.PropertyResolver propertyResolver,
String key) |
default <M extends com.fasterxml.jackson.databind.ObjectMapper> |
isXmlMapper(M mapper) |
static final String JACKSON_JAXB_ENABLED
static final String XMLMAPPER_CLASSNAME
static Object getEnumValue(Class<?> enumType, String name) throws ReflectiveOperationException
ReflectiveOperationException
<M extends com.fasterxml.jackson.databind.ObjectMapper> M config(org.springframework.core.env.PropertyResolver propertyResolver, M mapper)
default Optional<String> getProperty(org.springframework.core.env.PropertyResolver propertyResolver, String key)
default <M extends com.fasterxml.jackson.databind.ObjectMapper> Boolean isXmlMapper(M mapper)
Copyright © 2017. All rights reserved.