Searched refs:jsonTasks (Results 1 – 1 of 1) sorted by relevance
470 JSONArray jsonTasks = object.getJSONArray("stacks"); in fromJson() local473 for (int i = 0; i < jsonTasks.length(); i++) { in fromJson()474 stacks.add(StackState.fromJson((JSONObject) jsonTasks.get(i))); in fromJson()540 JSONArray jsonTasks = new JSONArray(); in toJson() local543 jsonTasks.put(task.toJson()); in toJson()547 .put(TASKS_KEY, jsonTasks) in toJson()552 JSONArray jsonTasks = object.getJSONArray(TASKS_KEY); in fromJson() local555 for (int i = 0; i < jsonTasks.length(); i++) { in fromJson()556 tasks.add(TaskState.fromJson((JSONObject) jsonTasks.get(i))); in fromJson()