I have some JSON-code which has multiple objects in it:
[ { \"MNGR_NAME\": \"Mark\", \"MGR_ID\": \"M44\", \"EMP_ID\": \"1849\"
This will find the number of occurrences of the MNGR_NAME key in your Object Array:
MNGR_NAME
Object
Array
var numMngrName = 0; $.each(json, function () { // 'this' is the Object you are iterating over if (this.MNGR_NAME !== undefined) { numMngrName++; } });