com.alibaba.fastjson.parser.deserializer
Class DefaultObjectDeserializer
java.lang.Object
com.alibaba.fastjson.parser.deserializer.DefaultObjectDeserializer
- All Implemented Interfaces:
- ObjectDeserializer
public class DefaultObjectDeserializer
- extends Object
- implements ObjectDeserializer
deserialze(DefaultJSONParser parser,
Class<T> clazz)
|
|
deserialze(DefaultJSONParser parser,
ParameterizedType type,
Object fieldName)
|
|
deserialze(DefaultJSONParser parser,
Type type,
Object fieldName)
|
int |
getFastMatchToken()
|
Object |
parseMap(DefaultJSONParser parser,
Map<Object,Object> map,
Type keyType,
Type valueType,
Object fieldName)
|
Map |
parseMap(DefaultJSONParser parser,
Map<String,Object> map,
Type valueType,
Object fieldName)
|
void |
parseObject(DefaultJSONParser parser,
Object object)
|
instance
public static final DefaultObjectDeserializer instance
DefaultObjectDeserializer
public DefaultObjectDeserializer()
parseMap
public Object parseMap(DefaultJSONParser parser,
Map<Object,Object> map,
Type keyType,
Type valueType,
Object fieldName)
parseMap
public Map parseMap(DefaultJSONParser parser,
Map<String,Object> map,
Type valueType,
Object fieldName)
parseObject
public void parseObject(DefaultJSONParser parser,
Object object)
deserialze
public <T> T deserialze(DefaultJSONParser parser,
Type type,
Object fieldName)
- Specified by:
deserialze
in interface ObjectDeserializer
deserialze
public <T> T deserialze(DefaultJSONParser parser,
ParameterizedType type,
Object fieldName)
deserialze
public <T> T deserialze(DefaultJSONParser parser,
Class<T> clazz)
getFastMatchToken
public int getFastMatchToken()
- Specified by:
getFastMatchToken
in interface ObjectDeserializer
Copyright © 2012
Alibaba Group. All Rights Reserved.