@@ -0,0 +1,883 @@
+package net.common.utils.json;%0A%0A/**%0A * JSON%E5%93%8D%E5%BA%94%E6%95%B0%E6%8D%AE%E8%BE%93%E5%87%BA%0A * User: shijingui%0A * Date: 2015/12/18%0A */%0Apublic class JsonWrite %7B%0A%0A    /**%0A     * %E6%8F%90%E7%A4%BA%E4%BF%A1%E6%81%AF%0A     */%0A    private String msg;%0A    /**%0A     * %E6%98%AF%E5%90%A6%E6%88%90%E5%8A%9F%0A     */%0A    private boolean success = Boolean.TRUE;%0A    /**%0A     * %E5%93%8D%E5%BA%94%E6%95%B0%E6%8D%AE%0A     */%0A    private Object data;%0A%0A    public JsonWrite() %7B%0A%0A    %7D%0A%0A    public JsonWrite(Object data) %7B%0A        this.data = data;%0A    %7D%0A%0A    public JsonWrite(Object data, String msg) %7B%0A        this.msg = msg;%0A    %7D%0A%0A    public String getMsg() %7B%0A        return msg;%0A    %7D%0A%0A    public void setMsg(String msg) %7B%0A        this.msg = msg;%0A    %7D%0A%0A    public boolean isSuccess() %7B%0A        return success;%0A    %7D%0A%0A    public void setSuccess(boolean success) %7B%0A        this.success = success;%0A    %7D%0A%0A    public Object getData() %7B%0A        return data;%0A    %7D%0A%0A    public void setData(Object data) %7B%0A        this.data = data;%0A    %7D%0A%0A%7D%0A

add json format response