-
Notifications
You must be signed in to change notification settings - Fork 111
DeserializationConfig
- Package: org.codehaus.jackson.map
- Jar: jackson-mapper
DeserializationConfig is the main configuration container used during deserialization (reading of JSON to construct Java objects).
ObjectMapper contains a modifiable copy of configuration. When a value is deserialized (using one of "readValue()" methods, or indirectly through ObjectReader), an unmodifiable (and non-shared) instance is constructed to be used during deserialization. This is done to ensure no changes occur half-way through deserialization, and that there is no need to synchronize read access.
DeserializationConfig is not usually constructed by application code; rather, an instance is constructed by ObjectMapper and exposed through serialization methods. Application code can, however, get access to instance used by ObjectMapper via ObjectMapper.getDeserializationConfig().
See JacksonFeaturesDeserialization for list of basic on/off features.
Back to JacksonTermGlossary
CategoryJackson