com.alibaba.fastjson.parser.deserializer
Class FieldDeserializer
java.lang.Object
com.alibaba.fastjson.parser.deserializer.FieldDeserializer
- Direct Known Subclasses:
- ArrayListStringFieldDeserializer, ArrayListTypeFieldDeserializer, BooleanFieldDeserializer, DefaultFieldDeserializer, IntegerFieldDeserializer, ListResolveFieldDeserializer, LongFieldDeserializer, MapResolveFieldDeserializer, StringFieldDeserializer
public abstract class FieldDeserializer
- extends Object
FieldDeserializer
public FieldDeserializer(Class<?> clazz,
FieldInfo fieldInfo)
getMethod
public Method getMethod()
getFieldClass
public Class<?> getFieldClass()
getFieldType
public Type getFieldType()
parseField
public abstract void parseField(DefaultJSONParser parser,
Object object,
Type objectType,
Map<String,Object> fieldValues)
getFastMatchToken
public abstract int getFastMatchToken()
setValue
public void setValue(Object object,
boolean value)
setValue
public void setValue(Object object,
int value)
setValue
public void setValue(Object object,
long value)
setValue
public void setValue(Object object,
String value)
setValue
public void setValue(Object object,
Object value)
Copyright © 2012
Alibaba Group. All Rights Reserved.