com.alibaba.fastjson.parser.deserializer
Class JavaBeanDeserializer
java.lang.Object
com.alibaba.fastjson.parser.deserializer.JavaBeanDeserializer
- All Implemented Interfaces:
- ObjectDeserializer
- Direct Known Subclasses:
- ASMJavaBeanDeserializer.InnerJavaBeanDeserializer, ThrowableDeserializer
public class JavaBeanDeserializer
- extends Object
- implements ObjectDeserializer
deserialze(DefaultJSONParser parser,
Type type,
Object fieldName)
|
Class<?> |
getClazz()
|
int |
getFastMatchToken()
|
Map<String,FieldDeserializer> |
getFieldDeserializerMap()
|
Type |
getType()
|
boolean |
parseField(DefaultJSONParser parser,
String key,
Object object,
Type objectType,
Map<String,Object> fieldValues)
|
JavaBeanDeserializer
public JavaBeanDeserializer(DeserializeBeanInfo beanInfo)
JavaBeanDeserializer
public JavaBeanDeserializer(ParserConfig config,
Class<?> clazz)
JavaBeanDeserializer
public JavaBeanDeserializer(ParserConfig config,
Class<?> clazz,
Type type)
getFieldDeserializerMap
public Map<String,FieldDeserializer> getFieldDeserializerMap()
getClazz
public Class<?> getClazz()
getType
public Type getType()
createFieldDeserializer
public FieldDeserializer createFieldDeserializer(ParserConfig mapping,
Class<?> clazz,
FieldInfo fieldInfo)
createInstance
public Object createInstance(DefaultJSONParser parser,
Type type)
deserialze
public <T> T deserialze(DefaultJSONParser parser,
Type type,
Object fieldName)
- Specified by:
deserialze
in interface ObjectDeserializer
parseField
public boolean parseField(DefaultJSONParser parser,
String key,
Object object,
Type objectType,
Map<String,Object> fieldValues)
getFastMatchToken
public int getFastMatchToken()
- Specified by:
getFastMatchToken
in interface ObjectDeserializer
Copyright © 2012
Alibaba Group. All Rights Reserved.