Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.deser.BeanDeserializerModifier[] |
beanDeserializerModifiers |
protected com.fasterxml.jackson.databind.ser.BeanSerializerModifier[] |
beanSerializerModifiers |
protected com.fasterxml.jackson.databind.JsonDeserializer[] |
deserializers |
protected com.fasterxml.jackson.databind.Module[] |
jacksonModules |
static String |
MICRONAUT_MODULE
Name for Micronaut module.
|
protected com.fasterxml.jackson.databind.JsonSerializer[] |
serializers |
Constructor and Description |
---|
ObjectMapperFactory() |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.ObjectMapper |
objectMapper(JacksonConfiguration jacksonConfiguration,
com.fasterxml.jackson.core.JsonFactory jsonFactory)
Builds the core Jackson
ObjectMapper from the optional configuration and JsonFactory . |
public static final String MICRONAUT_MODULE
@Inject protected com.fasterxml.jackson.databind.Module[] jacksonModules
@Inject protected com.fasterxml.jackson.databind.JsonSerializer[] serializers
@Inject protected com.fasterxml.jackson.databind.JsonDeserializer[] deserializers
@Inject protected com.fasterxml.jackson.databind.ser.BeanSerializerModifier[] beanSerializerModifiers
@Inject protected com.fasterxml.jackson.databind.deser.BeanDeserializerModifier[] beanDeserializerModifiers
@Singleton @Primary public com.fasterxml.jackson.databind.ObjectMapper objectMapper(@Nullable JacksonConfiguration jacksonConfiguration, @Nullable com.fasterxml.jackson.core.JsonFactory jsonFactory)
ObjectMapper
from the optional configuration and JsonFactory
.jacksonConfiguration
- The configurationjsonFactory
- The JSON factoryObjectMapper