Reputation: 2040
I am using a web service that return a JSON object. I need help in getting access to nested objects.
JSON is validated and valid as you can see in picture.
I am using result.GetArticlesByTagsResult.Articles.Article[0].id
, but I get undefined
all the time. I've tried almost possible combinations.
Please, I'm new to JSON and I can't get what I'm doing wrong.
Upvotes: 0
Views: 63
Reputation: 40394
Looking at the screenshot, the property is Id
, not id
Try result.GetArticlesByTagsResult.Articles.Article[0].Id
Upvotes: 2