I am trying to loop through an array of photo objects in java, from the flickr api but cant seem to target the photo array because it is nested within a json object with page values as seen below.
{
"page" : 1,
"pages" : 10,
"perpage" : 100,
"total" : 1000,
"photo" : [
{photo objects}
]
}
I expect to get photo objects which i can then pass to a photos model class.