Searched refs:jsonActivities (Results 1 – 1 of 1) sorted by relevance
604 JSONArray jsonActivities = new JSONArray(); in toJson() local607 jsonActivities.put(activity.toJson()); in toJson()611 .put(ACTIVITIES_KEY, jsonActivities); in toJson()615 JSONArray jsonActivities = object.getJSONArray(ACTIVITIES_KEY); in fromJson() local618 for (int i = 0; i < jsonActivities.length(); i++) { in fromJson()619 activities.add(ActivityState.fromJson((JSONObject) jsonActivities.get(i))); in fromJson()