org.test4j.json.decoder
类 ArrayDecoder

java.lang.Object
  继承者 org.test4j.json.decoder.base.BaseDecoder
      继承者 org.test4j.json.decoder.ArrayDecoder
所有已实现的接口:
IDecoder

public class ArrayDecoder
extends BaseDecoder


字段摘要
static BaseDecoder toARRAY
           
 
构造方法摘要
ArrayDecoder()
           
 
方法摘要
 boolean accept(Type type)
          是否接受是该类型json解码器
<T> T
decode(JSONObject json, Type toType, Map<String,Object> references)
          将json串反序列为对象
 
从类 org.test4j.json.decoder.base.BaseDecoder 继承的方法
getArgType, getError, getError, getRawType, isInterfaceOrAbstract, newInstance
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

toARRAY

public static final BaseDecoder toARRAY
构造方法详细信息

ArrayDecoder

public ArrayDecoder()
方法详细信息

decode

public <T> T decode(JSONObject json,
                    Type toType,
                    Map<String,Object> references)
从接口 IDecoder 复制的描述
将json串反序列为对象

返回:

accept

public boolean accept(Type type)
从接口 IDecoder 复制的描述
是否接受是该类型json解码器

返回:


Copyright © 2013. All rights reserved.