I have some JSON-code which has multiple objects in it:
[ { \"MNGR_NAME\": \"Mark\", \"MGR_ID\": \"M44\", \"EMP_ID\": \"1849\"
You can iterate over the collection and check each object if it contains the property:
var count = 0; var i; for(i = 0; i < jsonObj.length; i += 1) { if(jsonObj[i]["MNGR_NAME"]) { count++; } }
Working example: http://jsfiddle.net/j3fbQ/