I'm getting JSON from a servlet and turning the responseText into a JSON object by using JSON.parse(). Chrome Developer Tools shows the JSON object as having the data that I want, but when I actually try to access it I just get a bunch of 'undefined's.
Am I not interpreting the data correctly?
Screenshot of Chrome Developer Tools:

And briefly, my code to output the data:
for (var i = 0, len = jsonObj.length; i < len; ++i) {
// Setup the result...
var resultRow = document.createElement("tr");
resultsTable.appendChild(resultRow);
var result = jsonObj[i];
// Name
var coverCell = resultRow.insertCell(0);
coverCell.innerHTML = result.name;
}
jsonData as seen in the screenshot is passed into the output function as jsonObj.
result.name, tryresult['@name']. Does that work?jsonData, but you are looping over an object calledjsonObj. Is this just a typo?