Class NamedDeserializer<T extends Named<V>,V>
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<T>
-
- org.starcoin.serde.format.jackson.NamedDeserializer<T,V>
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
- Direct Known Subclasses:
NamedFormatDeserializer,NamedVariantFormatDeserializer
public abstract class NamedDeserializer<T extends Named<V>,V> extends com.fasterxml.jackson.databind.JsonDeserializer<T>
-
-
Constructor Summary
Constructors Constructor Description NamedDeserializer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Tdeserialize(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt)protected abstract TnewNamedInstance()protected abstract Class<V>valueType()-
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
-
-
-
Method Detail
-
deserialize
public T deserialize(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
- Specified by:
deserializein classcom.fasterxml.jackson.databind.JsonDeserializer<T extends Named<V>>- Throws:
IOExceptioncom.fasterxml.jackson.core.JsonProcessingException
-
newNamedInstance
protected abstract T newNamedInstance()
-
-