DefaultObjectDeserializer (fastjson 1.1.26 API)

fastjson



com.alibaba.fastjson.parser.deserializer Class DefaultObjectDeserializer

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

public class DefaultObjectDeserializer
extends Object
implements ObjectDeserializer


Field Summary
static DefaultObjectDeserializer
 
Constructor Summary
 
Method Summary
<T> T
deserialze(DefaultJSONParser parser, Class<T> clazz)
           
<T> T
deserialze(DefaultJSONParser parser, ParameterizedType type, Object fieldName)
           
<T> T
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)
             
Methods inherited from class java.lang.Object
 

Field Detail

instance

public static final DefaultObjectDeserializer instance
Constructor Detail

DefaultObjectDeserializer

public DefaultObjectDeserializer()
Method Detail

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.