com.fasterxml.jackson.datatype.joda.deser
Class PeriodDeserializer

java.lang.Object
  extended by com.fasterxml.jackson.databind.JsonDeserializer<T>
      extended by com.fasterxml.jackson.databind.deser.std.StdDeserializer<T>
          extended by com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer<T>
              extended by com.fasterxml.jackson.datatype.joda.deser.PeriodDeserializer
All Implemented Interfaces:
Serializable

public class PeriodDeserializer
extends com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer<T>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer
com.fasterxml.jackson.databind.JsonDeserializer.None
 
Field Summary
 
Fields inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
_valueClass
 
Constructor Summary
PeriodDeserializer()
           
 
Method Summary
 org.joda.time.Period deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)
           
 Object deserializeWithType(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt, com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer)
           
 
Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
_parseBoolean, _parseBooleanFromNumber, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, _parseString, findDeserializer, getValueClass, getValueType, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble
 
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, getDelegatee, getEmptyValue, getKnownPropertyNames, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PeriodDeserializer

public PeriodDeserializer()
Method Detail

deserialize

public org.joda.time.Period deserialize(com.fasterxml.jackson.core.JsonParser jp,
                                        com.fasterxml.jackson.databind.DeserializationContext ctxt)
                                 throws IOException,
                                        com.fasterxml.jackson.core.JsonProcessingException
Specified by:
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<org.joda.time.Period>
Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException

deserializeWithType

public Object deserializeWithType(com.fasterxml.jackson.core.JsonParser jp,
                                  com.fasterxml.jackson.databind.DeserializationContext ctxt,
                                  com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer)
                           throws IOException,
                                  com.fasterxml.jackson.core.JsonProcessingException
Overrides:
deserializeWithType in class com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer<T>
Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException


Copyright © 2012 FasterXML. All Rights Reserved.