org.test4j.json.decoder
类 CollectionDecoder
java.lang.Object
org.test4j.json.decoder.base.BaseDecoder
org.test4j.json.decoder.CollectionDecoder
- 所有已实现的接口:
- IDecoder
public class CollectionDecoder
- extends BaseDecoder
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toCOLLECTION
public static final CollectionDecoder toCOLLECTION
CollectionDecoder
public CollectionDecoder()
decode
public <T> T decode(JSONObject json,
Type toType,
Map<String,Object> references)
- 从接口
IDecoder 复制的描述
- 将json串反序列为对象
- 返回:
newInstance
protected Collection newInstance(Type toType)
- 覆盖:
- 类
BaseDecoder 中的 newInstance
accept
public boolean accept(Type type)
- 从接口
IDecoder 复制的描述
- 是否接受是该类型json解码器
- 返回:
Copyright © 2013. All rights reserved.