ParserConfig (fastjson 1.1.26 API)

fastjson



com.alibaba.fastjson.parser Class ParserConfig

java.lang.Object
  extended by com.alibaba.fastjson.parser.ParserConfig
Direct Known Subclasses:
JavaBeanMapping

public class ParserConfig
extends Object

Author:
wenshao

Constructor Summary
 
Method Summary
 FieldDeserializer
 FieldDeserializer
 ObjectDeserializer
 DefaultObjectDeserializer
 IdentityHashMap<Type,ObjectDeserializer>
 ObjectDeserializer
 ObjectDeserializer
 ObjectDeserializer
static Field
 Map<String,FieldDeserializer>
static ParserConfig
 SymbolTable
 boolean
 boolean
 void
 void
 
Methods inherited from class java.lang.Object
 

Constructor Detail

ParserConfig

public ParserConfig()
Method Detail

getGlobalInstance

public static ParserConfig getGlobalInstance()

getDefaultSerializer

public DefaultObjectDeserializer getDefaultSerializer()

isAsmEnable

public boolean isAsmEnable()

setAsmEnable

public void setAsmEnable(boolean asmEnable)

getSymbolTable

public SymbolTable getSymbolTable()

getDerializers

public IdentityHashMap<Type,ObjectDeserializer> getDerializers()

getDeserializer

public ObjectDeserializer getDeserializer(Type type)

getDeserializer

public ObjectDeserializer getDeserializer(Class<?> clazz,
                                          Type type)

createJavaBeanDeserializer

public ObjectDeserializer createJavaBeanDeserializer(Class<?> clazz,
                                                     Type type)

createFieldDeserializer

public FieldDeserializer createFieldDeserializer(ParserConfig mapping,
                                                 Class<?> clazz,
                                                 FieldInfo fieldInfo)

createFieldDeserializerWithoutASM

public FieldDeserializer createFieldDeserializerWithoutASM(ParserConfig mapping,
                                                           Class<?> clazz,
                                                           FieldInfo fieldInfo)

putDeserializer

public void putDeserializer(Type type,
                            ObjectDeserializer deserializer)

getDeserializer

public ObjectDeserializer getDeserializer(FieldInfo fieldInfo)

isPrimitive

public boolean isPrimitive(Class<?> clazz)

getField

public static Field getField(Class<?> clazz,
                             String fieldName)

getFieldDeserializers

public Map<String,FieldDeserializer> getFieldDeserializers(Class<?> clazz)


Copyright © 2012 Alibaba Group. All Rights Reserved.