de.undercouch.bson4jackson.deserializers
Class BsonDeserializer<T>
java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<T>
de.undercouch.bson4jackson.deserializers.BsonDeserializer<T>
- Direct Known Subclasses:
- BsonCalendarDeserializer, BsonDateDeserializer
public abstract class BsonDeserializer<T>
- extends com.fasterxml.jackson.databind.JsonDeserializer<T>
Base class for BSON deserializers
- Since:
- 2.3.2
| Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer |
com.fasterxml.jackson.databind.JsonDeserializer.None |
|
Method Summary |
abstract T |
deserialize(BsonParser bp,
com.fasterxml.jackson.databind.DeserializationContext ctxt)
Deserialize an object using the given BsonParser |
T |
deserialize(com.fasterxml.jackson.core.JsonParser jsonParser,
com.fasterxml.jackson.databind.DeserializationContext ctxt)
|
| Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer |
deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyValue, getKnownPropertyNames, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, unwrappingDeserializer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BsonDeserializer
public BsonDeserializer()
deserialize
public T deserialize(com.fasterxml.jackson.core.JsonParser jsonParser,
com.fasterxml.jackson.databind.DeserializationContext ctxt)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonProcessingException
- Specified by:
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<T>
- Throws:
java.io.IOException
com.fasterxml.jackson.core.JsonProcessingException
deserialize
public abstract T deserialize(BsonParser bp,
com.fasterxml.jackson.databind.DeserializationContext ctxt)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonProcessingException
- Deserialize an object using the given BsonParser
- Parameters:
bp - the BsonParser read fromctxt - context that can be used to access information about
this deserialization activity
- Returns:
- the deserialized object
- Throws:
java.io.IOException
com.fasterxml.jackson.core.JsonProcessingException