com.xdnote.xdcore
类 Json

java.lang.Object
  继承者 com.xdnote.xdcore.Json

public class Json
extends java.lang.Object

Json结果类,在执行Action返回一个Json的子类,会直接返回一个Json格式的响应。

从以下版本开始:
0.1

字段摘要
static int ALL_LOWERCASE
          全部小写
static int ALL_UPCASE
          全部大写
static int FRIST_LOWERCASE
          首字母小写(默认)
static int FRIST_UPCASE
          首字母大写
 
构造方法摘要
Json()
           
 
方法摘要
 void setDefaultMode(int mode)
          设置输出Json时,key的模式
 java.lang.String toString()
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

ALL_LOWERCASE

public static final int ALL_LOWERCASE
全部小写

另请参见:
常量字段值

ALL_UPCASE

public static final int ALL_UPCASE
全部大写

另请参见:
常量字段值

FRIST_LOWERCASE

public static final int FRIST_LOWERCASE
首字母小写(默认)

另请参见:
常量字段值

FRIST_UPCASE

public static final int FRIST_UPCASE
首字母大写

另请参见:
常量字段值
构造方法详细信息

Json

public Json()
方法详细信息

setDefaultMode

public void setDefaultMode(int mode)
设置输出Json时,key的模式


toString

public java.lang.String toString()
覆盖:
java.lang.Object 中的 toString