Skip to content

DeserializationConfig

Paul Brown edited this page Oct 19, 2011 · 1 revision

Jackson Glossary: DeserializationConfig

  • Package: org.codehaus.jackson.map
  • Jar: jackson-mapper

Role

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.

Usage

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().

Related

See JacksonFeaturesDeserialization for list of basic on/off features.


Back to JacksonTermGlossary


CategoryJackson