public class FastJsonKeywordCodec extends SingletonBase implements com.alibaba.fastjson.serializer.ObjectSerializer, com.alibaba.fastjson.parser.deserializer.ObjectDeserializer
Destroyable.Util
Constructor and Description |
---|
FastJsonKeywordCodec() |
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) |
instance
addSubResource, destroy, isDestroyed, releaseResources, reload, scope
public <T> T deserialze(com.alibaba.fastjson.parser.DefaultJSONParser parser, Type type, Object fieldName)
deserialze
in interface com.alibaba.fastjson.parser.deserializer.ObjectDeserializer
public int getFastMatchToken()
getFastMatchToken
in interface com.alibaba.fastjson.parser.deserializer.ObjectDeserializer
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.ObjectSerializer
IOException
Copyright © 2014-2017 ActFramework. All Rights Reserved.