144145146147148149150151152
JSONArray root = new JSONArray(response.getResponse()); int numOfLinks = root.length(); for (int a = 0; a < numOfLinks; a++) { JSONObject aLink = root.getJSONObject(a); rslt.add(new Link(aLink)); } return rslt; }