I'm having trouble figuring out the correct syntax to parse this JSON output.
var text = [{"name":"bob","image":"bob.png"},{"name":"jim","image":"jim.png"}];
var obj = JSON.parse(text);
document.getElementById("demo").innerHTML = obj[0].name + ", " + obj[0].image;
The expected output would be:
bob, bob.png