Home | History | Annotate | Download | only in alarms

Lines Matching defs:jsonObject

24 import org.json.JSONObject;
82 JSONObject jsonObject = new JSONObject();
84 jsonObject.put("id", id);
85 jsonObject.put("month", month);
86 jsonObject.put("date", date);
87 jsonObject.put("hour", hour);
88 jsonObject.put("minute", minute);
92 return jsonObject.toString();
102 JSONObject jsonObject;
105 jsonObject = new JSONObject(string);
106 alarm.id = jsonObject.getInt("id");
107 alarm.month = jsonObject.getInt("month");
108 alarm.date = jsonObject.getInt("date");
109 alarm.hour = jsonObject.getInt("hour");
110 alarm.minute = jsonObject.getInt("minute");