public interface ICoder<T>
| Modifier and Type | Method and Description |
|---|---|
T |
decode(TDNode jsonNode,
Type type,
Object targetObj,
BeanCoderContext context)
Decode an Object
|
TDNode |
encode(T obj,
Type type,
BeanCoderContext context,
TDNode target)
Encode an Object
|
Class<T> |
getType() |
TDNode encode(T obj, Type type, BeanCoderContext context, TDNode target)
obj - The Object to encodecontext - Encode contexttarget - The target json TDNodeT decode(TDNode jsonNode, Type type, Object targetObj, BeanCoderContext context)
jsonNode - The json TDNode to be decodedtype - The target typecontext - Decode contextCopyright © 2021. All rights reserved.