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 JacksonObjectMapperFactory
ObjectMapper
public void configureObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
JacksonObjectMapperFactory
ObjectMapper
creation. For example, the users
might want to register modules with nonstandard (de)serializers now.configureObjectMapper
in interface JacksonConfigureListener
configureObjectMapper
in interface JacksonObjectMapperFactory
objectMapper
- the ObjectMapper to configure.protected com.fasterxml.jackson.databind.ObjectMapper createInstance()
ObjectMapper
Copyright © 2012–2019. All rights reserved.