Skip to content Skip to sidebar Skip to footer

Whats The Best JSON JavaScript Polyfill

I am looking for a JSON polyfill (for JSON support in older browsers) that I can use in some JavaScript I'm writing. I've looked and found JSON2 and JSON3 are quite popular and I'v

Solution 1:

You can use the JSON library provided by Douglas Crockford.

https://github.com/douglascrockford/JSON-js.

You can include it unconditionally, and it adds JSON.parse and JSON.stringify only if there isn't one defined yet.


Post a Comment for "Whats The Best JSON JavaScript Polyfill"