ASMJavaBeanDeserializer (fastjson 1.1.26 API)

fastjson



com.alibaba.fastjson.parser.deserializer Class ASMJavaBeanDeserializer

java.lang.Object
  extended by com.alibaba.fastjson.parser.deserializer.ASMJavaBeanDeserializer
All Implemented Interfaces:
ObjectDeserializer

public abstract class ASMJavaBeanDeserializer
extends Object
implements ObjectDeserializer


Nested Class Summary
 class
 
Constructor Summary
 
Method Summary
 FieldDeserializer
 Object
abstract  Object
<T> T
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)
             
Methods inherited from class java.lang.Object
 

Constructor Detail

ASMJavaBeanDeserializer

public ASMJavaBeanDeserializer(ParserConfig mapping,
                               Class<?> clazz)
Method Detail

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.