This code fails with an exception indicating invalid JSON:
var example = \'{ \"AKEY\": undefined }\';
jQuery.parseJSON(example);
I was able
They're not permitted in JSON...look at the alternative and it's clear as to why:
var example = '{}';
var obj = jQuery.parseJSON(example);
obj.AKEY //undefined
If it's undefined, when you go to access it, it's the same as the key not even being present. Since JSON's primary purpose is for transmitting data (otherwise the broader object literal syntax is fine)...it's better to leave it out altogether.