I\'m looking to loop through a JSON array and display the key and value.
It should be a simplified version of the following post, but I don\'t seem to have the syn
You can get the values directly in case of one array like this:
var resultJSON = '{"FirstName":"John","LastName":"Doe","Email":"johndoe@johndoe.com","Phone":"123 dead drive"}';
var result = $.parseJSON(resultJSON);
result['FirstName']; // return 'John'
result['LastName']; // return ''Doe'
result['Email']; // return 'johndoe@johndoe.com'
result['Phone']; // return '123'