public class FastJsonAAAObjectCodec extends Object implements com.alibaba.fastjson.serializer.ObjectSerializer, com.alibaba.fastjson.parser.deserializer.ObjectDeserializer
Serializer and Deserializer of SimplePermission for FastJson
| Constructor and Description |
|---|
FastJsonAAAObjectCodec(Class<? extends org.osgl.aaa.AAAObject> type,
org.osgl.aaa.AAAPersistentService persistentService) |
| 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 FastJsonAAAObjectCodec(Class<? extends org.osgl.aaa.AAAObject> type, org.osgl.aaa.AAAPersistentService persistentService)
public int getFastMatchToken()
getFastMatchToken in interface com.alibaba.fastjson.parser.deserializer.ObjectDeserializerpublic <T> T deserialze(com.alibaba.fastjson.parser.DefaultJSONParser parser,
Type type,
Object fieldName)
deserialze in interface com.alibaba.fastjson.parser.deserializer.ObjectDeserializerpublic 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.ObjectSerializerIOExceptionCopyright © 2015–2019 ActFramework. All rights reserved.