public class ConfiguredObjectMapper
extends java.lang.Object
ObjectMapper with a frozen configuration. This exposes a subset of
ObjectMapper methods, it doesn't allow modifications to configuration.
The created ObjectMapper also automatically installs some modules that are common to SPI code.
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfiguredObjectMapper.Builder
A builder for constructing
ConfiguredObjectMapper instances. |
| Modifier and Type | Method and Description |
|---|---|
static ConfiguredObjectMapper.Builder |
builder()
Constructs a new
ConfiguredObjectMapper.Builder for creating ConfiguredObjectMapper instances. |
com.fasterxml.jackson.databind.ObjectReader |
reader()
Returns an ObjectReader, this has an immutable configuration.
|
com.fasterxml.jackson.databind.ObjectWriter |
writer()
Returns an ObjectWriter, this has an immutable configuration.
|
public com.fasterxml.jackson.databind.ObjectReader reader()
public com.fasterxml.jackson.databind.ObjectWriter writer()
public static ConfiguredObjectMapper.Builder builder()
ConfiguredObjectMapper.Builder for creating ConfiguredObjectMapper instances.