org.test4j.json.decoder.spec
类 SpecDecoder
java.lang.Object
org.test4j.json.decoder.spec.SpecDecoder
- 所有已实现的接口:
- IDecoder
- 直接已知子类:
- MethodDecoder, ThrowableDecoder
public abstract class SpecDecoder
- extends Object
- implements IDecoder
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpecDecoder
public SpecDecoder()
decode
public <T> T decode(JSONObject json,
Type toType,
Map<String,Object> references)
- 从接口
IDecoder 复制的描述
- 将json串反序列为对象
- 指定者:
- 接口
IDecoder 中的 decode
- 返回:
decodeFrom
public abstract <T> T decodeFrom(JSONMap map)
throws Exception
- 抛出:
Exception
Copyright © 2013. All rights reserved.