Running Windows 7 64 bit with Firefox version 32, I came across the issue that JSON.parse cannot handle JSON.parse("{ 'a': undefined }";
Surprisingly, when I use JSON.stringify in a specific scenario, I end up with undefined:
console.log("'abc': " + JSON.stringify(this.nothing));
This code snippet results in:
"'abc': undefined"
In my custom functions where I create object-strings, I opt for using JSON.stringify to simplify certain variables. I thought this would guarantee security, but obviously not.