javascript
var likesperimage = photo.likes.data;
console.log(likesperimage);
displays

When I try var likesperimage = JSON.stringify(photo.likes.data); inside my real coding it outputs the objects in full, but I only need usernames for each object per image. I have tried using jQuery each but this does not do what I really need.
Each grouped line which has Object in it is data from an image. so there are multiple usernames per image. And what Id like to do is show all the usernames that are tied in with the main object.
Why
jQuery.eachdoesn’t work for you? Try the following code: