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