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


构造方法摘要
SpecDecoder()
           
 
方法摘要
<T> T
decode(JSONObject json, Type toType, Map<String,Object> references)
          将json串反序列为对象
abstract
<T> T
decodeFrom(JSONMap map)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 org.test4j.json.decoder.IDecoder 继承的方法
accept
 

构造方法详细信息

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.