public abstract class AbstractDateDeserializer extends ContextObjectDeserializer implements ObjectDeserializer
Constructor and Description |
---|
AbstractDateDeserializer() |
Modifier and Type | Method and Description |
---|---|
<T> T |
deserialze(DefaultJSONParser parser,
Type clazz,
Object fieldName)
fastjson invokes this call-back method during deserialization when it encounters a field of the
specified type.
|
<T> T |
deserialze(DefaultJSONParser parser,
Type clazz,
Object fieldName,
String format,
int features) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFastMatchToken
public <T> T deserialze(DefaultJSONParser parser, Type clazz, Object fieldName)
ObjectDeserializer
In the implementation of this call-back method, you should consider invoking
JSON.parseObject(String, Type, Feature[])
method to create objects
for any non-trivial field of the returned object.
deserialze
in interface ObjectDeserializer
deserialze
in class ContextObjectDeserializer
parser
- context DefaultJSONParser being deserializedclazz
- The type of the Object to deserialize tofieldName
- parent object field nameT
public <T> T deserialze(DefaultJSONParser parser, Type clazz, Object fieldName, String format, int features)
deserialze
in class ContextObjectDeserializer
Copyright © 2012–2022 Alibaba Group. All rights reserved.