public class DefaultJacksonObjectMapperFactory extends Object implements JacksonObjectMapperFactory
| Constructor and Description |
|---|
DefaultJacksonObjectMapperFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Allow configuration after
ObjectMapper creation. |
protected com.fasterxml.jackson.databind.ObjectMapper |
createInstance()
Allows subclasing and overriding of ObjectMapper instances
|
com.fasterxml.jackson.databind.ObjectMapper |
createObjectMapper()
Creates a configured instance of
ObjectMapper. |
public com.fasterxml.jackson.databind.ObjectMapper createObjectMapper()
ObjectMapper.createObjectMapper in interface JacksonObjectMapperFactoryObjectMapperpublic void configureObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
JacksonObjectMapperFactoryObjectMapper creation. For example, the users
might want to register modules with nonstandard (de)serializers now.configureObjectMapper in interface JacksonConfigureListenerconfigureObjectMapper in interface JacksonObjectMapperFactoryobjectMapper - the ObjectMapper to configure.protected com.fasterxml.jackson.databind.ObjectMapper createInstance()
ObjectMapperCopyright © 2012–2021. All rights reserved.