public class EasyjCollectionCodec extends Object implements com.alibaba.fastjson.serializer.ObjectSerializer, com.alibaba.fastjson.parser.deserializer.ObjectDeserializer
| Modifier and Type | Field and Description |
|---|---|
static EasyjCollectionCodec |
INSTANCE |
| Constructor and Description |
|---|
EasyjCollectionCodec() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
deserialze(com.alibaba.fastjson.parser.DefaultJSONParser parser,
Type type,
Object fieldName) |
int |
getFastMatchToken() |
void |
write(com.alibaba.fastjson.serializer.JSONSerializer serializer,
Object object,
Object fieldName,
Type fieldType,
int features) |
public static final EasyjCollectionCodec INSTANCE
public void write(com.alibaba.fastjson.serializer.JSONSerializer serializer,
Object object,
Object fieldName,
Type fieldType,
int features)
throws IOException
write in interface com.alibaba.fastjson.serializer.ObjectSerializerIOExceptionpublic <T> T deserialze(com.alibaba.fastjson.parser.DefaultJSONParser parser,
Type type,
Object fieldName)
deserialze in interface com.alibaba.fastjson.parser.deserializer.ObjectDeserializerpublic int getFastMatchToken()
getFastMatchToken in interface com.alibaba.fastjson.parser.deserializer.ObjectDeserializerCopyright © 2021–2022 EasyJ开源社区. All rights reserved.