示例#1
0
 public static JsonResult returnData(Object data) {
   JsonResult r = new JsonResult(true);
   r.setData(data);
   return r;
 }
示例#2
0
 public static JsonResult returnData(String href, Object data) {
   JsonResult r = new JsonResult(true);
   r.setData(data);
   r.setNextHref(href);
   return r;
 }