}
userid.deleteCharAt(userid.length() - 1);// delete last comma
listOfMethods.put("uids", userid.toString());
listOfMethods.put(METHOD, USERS_GETINFO);
Parameterable basicInfo = type.newInstance();
listOfMethods.put("fields", basicInfo.getFields());
HttpResponseMessage response = f4j.sendGetRequest(listOfMethods);
JSONArray jArray = new JSONArray(response.getResponse());
int jArraySize = jArray.length();
for (int a = 0; a < jArraySize; a++) {
JSONObject jObj = jArray.getJSONObject(a);
Parameterable bInfo = type.newInstance();
bInfo.setJSONObject(jObj);
userInfo.add(bInfo);
}
}