My json object is
"lastModifyingUser": {
"kind": "drive#user",
"displayName": string,
"picture": {
"url": string
},
"isAuthenticatedUser": boolean,
"permissionId": string
}
I want to loop through lastModifyingUser and pull only the url value from the picture object.
Is this possible?
here is what I have so far.
var obj = resp.lastModifyingUser;
for(var k in obj){
var value = obj[k];
console.log(value);
}
output :
drive#user
#Hidden Name
Object {url: "#Hidden URL"} <-- I want only the "hidden" URL
false
#Hidden Id