Graceful Degradation with JSON.Parse
- by Steve
If a browser doesn't support JSON.parse, would it make sense to include json.js and call parseJSON in lieu?
So the code would looks something like:
var z;
if (JSON.parse)
z = JSON.parse(yada);
else
z = JSON.parseJSON(yada);