public class CoderCollection extends Object implements ICoder<Collection>
| Constructor and Description |
|---|
CoderCollection() |
| Modifier and Type | Method and Description |
|---|---|
Collection |
decode(TDNode jsonNode,
Type type,
Object targetObj,
BeanCoderContext ctx)
Decode an Object
|
TDNode |
encode(Collection obj,
Type type,
BeanCoderContext ctx,
TDNode target)
Encode an Object
|
Class<Collection> |
getType() |
public Class<Collection> getType()
getType in interface ICoder<Collection>public TDNode encode(Collection obj, Type type, BeanCoderContext ctx, TDNode target)
ICoderencode in interface ICoder<Collection>obj - The Object to encodectx - Encode contexttarget - The target json TDNodepublic Collection decode(TDNode jsonNode, Type type, Object targetObj, BeanCoderContext ctx)
ICoderdecode in interface ICoder<Collection>jsonNode - The json TDNode to be decodedtype - The target typectx - Decode contextCopyright © 2019. All rights reserved.