|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.alibaba.fastjson.serializer Class SerializeConfig
java.lang.Object com.alibaba.fastjson.util.IdentityHashMap<Type,ObjectSerializer> com.alibaba.fastjson.serializer.SerializeConfig
- Direct Known Subclasses:
- JSONSerializerMap
public class SerializeConfig
- extends IdentityHashMap<Type,ObjectSerializer>
circular references detect
- Author:
- wenshao
Field Summary |
---|
Fields inherited from class com.alibaba.fastjson.util.IdentityHashMap |
---|
DEFAULT_TABLE_SIZE |
Constructor Summary | |
---|---|
SerializeConfig()
|
|
SerializeConfig(int tableSize)
|
Method Summary | |
---|---|
ObjectSerializer |
createASMSerializer(Class<?> clazz)
|
ObjectSerializer |
createJavaBeanSerializer(Class<?> clazz)
|
static SerializeConfig |
getGlobalInstance()
|
boolean |
isAsmEnable()
|
void |
setAsmEnable(boolean asmEnable)
|
Methods inherited from class com.alibaba.fastjson.util.IdentityHashMap |
---|
get, put, size |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
SerializeConfig
public SerializeConfig()
SerializeConfig
public SerializeConfig(int tableSize)
Method Detail |
---|
createASMSerializer
public final ObjectSerializer createASMSerializer(Class<?> clazz) throws Exception
- Throws:
Exception
createJavaBeanSerializer
public ObjectSerializer createJavaBeanSerializer(Class<?> clazz)
isAsmEnable
public boolean isAsmEnable()
setAsmEnable
public void setAsmEnable(boolean asmEnable)
getGlobalInstance
public static final SerializeConfig getGlobalInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2012 Alibaba Group. All Rights Reserved.