Jackson Glossary: JsonDeserializer
Package: org.codehaus.jackson.map
Jar: jackson-mapper
Role
This abstract class defines the simple interface that deserialization infrastructure uses to deserialize a single value of supported type. To deserialize a POJO using BeanDeserializer (which is a subtype), bean deserializer has set of child JsonDeserializer instances to use for deserializing values of contained properties.
Usage
JsonDeserializer instances are called by other deserializers. Thus most of the time users need not call anything. However, when creating deserializers for composite types (like POJOs with properties), it is necessary to both locate other deserializers to call (using DeserializerProvider that is passed via deserialize()}} and {{{deserializeWithType methods that are part of the interface), and then call appropriate deserialization methods.
Default implementation(s)
BeanDeserializer is the standard deserializer used for POJOs
org.codehaus.jackson.map.deser.StdDeserializer is the base class that can be used for custom deserializer implementations.
org.codehaus.jackson.map.deser has a number of specific JsonDeserializer types used for JDK types
org.codehaus.jackson.map.deser.
Back to Jackson Term Glossary
