Skip to content Skip to sidebar Skip to footer

Json Is Not Defined, Chrome

I have some JS that runs fine in FF and IE but in Chrome I see the following error: uncaught exception ReferenceError: JSON is not defined I presume I need to include something b

Solution 1:

The JSON object is not yet part of the standard IIRC, but is expected to be soon. In the meantime, browsers are free to implement it at will, and that's probably what you are seeing here.

Your best bet is to get a separate library that does the same thing and use it for the meantime until native implementations are more widespread. You can find a very good one here (Link at the bottom).

Post a Comment for "Json Is Not Defined, Chrome"