ArrayList<Album> albumList = new ArrayList<Album>();
ArrayList<Profile> profileList = new ArrayList<Profile>();
// handle posts
try {
Object postListObj = root.opt("posts");
if (postListObj != null && postListObj instanceof JSONArray) {
JSONArray posts = (JSONArray) postListObj;
int postSize = posts.length();
for (int a = 0; a < postSize; a++) {
JSONObject jObj = posts.getJSONObject(a);