public class CoderCollection extends Object implements ICoder<Collection>
| Modifier and Type | Field and Description |
|---|---|
static org.jsonex.core.factory.InjectableInstance<CoderCollection> |
it |
| Constructor and Description |
|---|
CoderCollection() |
| Modifier and Type | Method and Description |
|---|---|
Collection |
decode(TDNode tdNode,
Type type,
Object targetObj,
BeanCoderContext ctx)
Decode an Object
|
TDNode |
encode(Collection obj,
Type type,
BeanCoderContext ctx,
TDNode target)
Encode an Object
|
static CoderCollection |
get() |
Class<Collection> |
getType() |
public static final org.jsonex.core.factory.InjectableInstance<CoderCollection> it
public static CoderCollection get()
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 tdNode, Type type, Object targetObj, BeanCoderContext ctx)
ICoderdecode in interface ICoder<Collection>tdNode - The json TDNode to be decodedtype - The target typectx - Decode contextCopyright © 2021. All rights reserved.