All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
void |
addAccept(String name) |
void |
addAutoTypeCheckHandler(ParserConfig.AutoTypeCheckHandler h) |
void |
addDeny(String name) |
void |
addDenyInternal(String name) |
Class<?> |
checkAutoType(Class type) |
Class<?> |
checkAutoType(String typeName,
Class<?> expectClass) |
Class<?> |
checkAutoType(String typeName,
Class<?> expectClass,
int features) |
void |
clearDeserializers() |
void |
configFromPropety(Properties properties) |
FieldDeserializer |
createFieldDeserializer(ParserConfig mapping,
JavaBeanInfo beanInfo,
FieldInfo fieldInfo) |
ObjectDeserializer |
createJavaBeanDeserializer(Class<?> clazz,
Type type) |
ObjectDeserializer |
get(Type type) |
ClassLoader |
getDefaultClassLoader() |
IdentityHashMap<Type,ObjectDeserializer> |
getDerializers()
Deprecated.
|
ObjectDeserializer |
getDeserializer(Class<?> clazz,
Type type) |
ObjectDeserializer |
getDeserializer(FieldInfo fieldInfo) |
ObjectDeserializer |
getDeserializer(Type type) |
IdentityHashMap<Type,ObjectDeserializer> |
getDeserializers() |
static Field |
getFieldFromCache(String fieldName,
Map<String,Field> fieldCacheMap) |
static ParserConfig |
getGlobalInstance() |
void |
initJavaBeanDeserializers(Class<?>... classes) |
boolean |
isAsmEnable() |
boolean |
isAutoTypeSupport() |
boolean |
isJacksonCompatible() |
boolean |
isPrimitive(Class<?> clazz)
|
static boolean |
isPrimitive2(Class<?> clazz)
|
boolean |
isSafeMode() |
static void |
parserAllFieldToCache(Class<?> clazz,
Map<String,Field> fieldCacheMap)
fieldName,field ,先生成fieldName的快照,减少之后的findField的轮询
|
void |
putDeserializer(Type type,
ObjectDeserializer deserializer) |
void |
register(Module module) |
void |
register(String typeName,
Class type) |
void |
setAsmEnable(boolean asmEnable) |
void |
setAutoTypeSupport(boolean autoTypeSupport) |
void |
setDefaultClassLoader(ClassLoader defaultClassLoader) |
void |
setJacksonCompatible(boolean jacksonCompatible) |
void |
setSafeMode(boolean safeMode) |