FlickrResponse photos type

Hi there, what is the purpose of making the photos field which is a parent field of photo: PhotoResponse? I don’t get this part. How does this work? Where can I find info using it this way, I tried searching but it’s a vague topic


as u can see in JSON response, “PhotoResponse” equal “photo” in JSON (in code we use SerializedName to “photo”) and then
as like as JSON response “photos” is parent of “photo” so, parent of “FlickrResponse” is “PhotoResponse”.

2 Likes