Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // JsonObject jObject = new JsonObject();
- // HelpcheckDAO check = new HelpcheckDAO();
- // List<HelpcheckDB> listCheck = check.getList();
- //
- // try
- // {
- // JsonArray jArray = new JsonArray();
- // for (HelpcheckDB healcheck : listCheck)
- // {
- // JsonObject checkJSON = new JsonObject();
- // checkJSON.addProperty("status", healcheck.getStatus());
- // checkJSON.addProperty("timeNow", healcheck.getTimeNow().toString());
- // checkJSON.addProperty("timeUse", healcheck.getTimeUse());
- // jArray.add(checkJSON);
- // }
- // jObject.add("CheckList", jArray);
- // response.setTest(jObject.toString());
- // } catch (JsonIOException jse) {
- // jse.printStackTrace();
- // }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement