public class MapDeserializer extends ContextObjectDeserializer implements ObjectDeserializer
Modifier and Type | Field and Description |
---|---|
static MapDeserializer |
instance |
Constructor and Description |
---|
MapDeserializer() |
Modifier and Type | Method and Description |
---|---|
Map<Object,Object> |
createMap(Type type) |
Map<Object,Object> |
createMap(Type type,
int featrues) |
<T> T |
deserialze(DefaultJSONParser parser,
Type type,
Object fieldName,
String format,
int features) |
int |
getFastMatchToken() |
static Object |
parseMap(DefaultJSONParser parser,
Map<Object,Object> map,
Type keyType,
Type valueType,
Object fieldName) |
static Map |
parseMap(DefaultJSONParser parser,
Map<String,Object> map,
Type valueType,
Object fieldName) |
static Map |
parseMap(DefaultJSONParser parser,
Map<String,Object> map,
Type valueType,
Object fieldName,
int features) |
deserialze
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deserialze
public static MapDeserializer instance
public <T> T deserialze(DefaultJSONParser parser, Type type, Object fieldName, String format, int features)
deserialze
in class ContextObjectDeserializer
public static Map parseMap(DefaultJSONParser parser, Map<String,Object> map, Type valueType, Object fieldName)
public static Map parseMap(DefaultJSONParser parser, Map<String,Object> map, Type valueType, Object fieldName, int features)
public static Object parseMap(DefaultJSONParser parser, Map<Object,Object> map, Type keyType, Type valueType, Object fieldName)
public int getFastMatchToken()
getFastMatchToken
in interface ObjectDeserializer
Copyright © 2012–2022 Alibaba Group. All rights reserved.