public class ObjectMapperProvider
extends java.lang.Object
ObjectMapper
configured for specific serialization and
deserialization behaviors.Modifier and Type | Method and Description |
---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
objectMapper()
Retrieves a globally shared
ObjectMapper instance. |
public static com.fasterxml.jackson.databind.ObjectMapper objectMapper()
ObjectMapper
instance.
Note: This ObjectMapper is a global singe instance. If you need to modify the default
serialization/deserialization settings, make changes within the INSTANCE builder directly.
Avoid modifying properties of the returned ObjectMapper
instance to prevent unintended
side effects.
ObjectMapper
instance