/** * Get the JSONArray of synchronized accounts * * @return synchronized accounts as a JSONArray */ public JSONArray getAccountsDetailsJSONArray() { JSONArray array = new JSONArray(); for (ServiceAccount sa : serviceAccountList) { array.put(sa.getAccountJSONDescription()); } return array; }