345346347348349350351352353
JSONArray root = new JSONArray(response.getResponse()); int numOfNotes = root.length(); for (int a = 0; a < numOfNotes; a++) { JSONObject aNote = root.getJSONObject(a); rslt.add(new Note(aNote)); } return rslt; }