Wednesday 22 February 2017

How to access the specific json objects?

I have an array like so:[{ "src": "link1" }, { "src": "link2" }, { "src": "link3" }] I am having a hard time grabbing the "src" value.I try to log the value by doing this, console.log(JSON.stringify(array.src)); But nothing comes back.

Submitted February 22, 2017 at 11:43PM by farhansyed7911

No comments:

Post a Comment