jbutko
7/25/2014 - 8:29 AM

JS: Loop through JSON object List

JS: Loop through JSON object List

for (var prop in result) {
    if (result.hasOwnProperty(prop)) {
        console.log(result[prop]);
    }
}

// via From http://stackoverflow.com/questions/800593/loop-through-json-object-list