Jackson Glossary: JsonDeserializer

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)

org.codehaus.jackson.map.deser.


Back to Jackson Term Glossary


CategoryJackson

JsonDeserializer (last edited 2011-01-26 00:32:30 by TatuSaloranta)

Copyright ©2009 FasterXML, LLC