Skip to content

Instantly share code, notes, and snippets.

@jasdev
Created August 2, 2012 04:47
Show Gist options
  • Select an option

  • Save jasdev/3233676 to your computer and use it in GitHub Desktop.

Select an option

Save jasdev/3233676 to your computer and use it in GitHub Desktop.
Pardon the brevity
for(int i = 0; i < badges.length(); i++){
badgeList.add(new Badge(((JSONObject) (badges.get(i))).getString("name"), ((JSONObject) (badges.get(i))).getString("description"), ((JSONObject) (badges.get(i))).getString("id")));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment