Configure an ObjectMapper for use by a particular collection, type and key combination.
Configure an ObjectMapper for use by a particular collection, type and key combination. This will be called once for each collection name, object type and key type looked up. Note that since ObjectMapper is mutable, if you want to create a configuration specific to a particular collection, then you should probably be creating a new ObjectMapper, ensuring that MongoJacksonMapperModule is registered.
The global object mapper
The name of the collection being mapped
The type of the object the collection is being mapped to
The type of the key of the object
The object mapper to use for this collection, type and key type combination
Configure the given ObjectMapper for global use.
Configure the given ObjectMapper for global use. This will be called once, on application startup. You may either modify the object mapper passed in, or create a completely new one. If you create a completely new one, then you need to ensure that the MongoJacksonMapperModule is registered, using the MongoJacksonMapperModule.configure() method.
The default object mapper
The object mapper to use globally
Configures an ObjectMapper. Implementations must have a no argument constructor.