Special thanks to cdnjs and jsDelivr for hosting CDN copies of JSON 3.

JSON 3 exposes two functions: stringify() for serializing a JavaScript value to JSON, and parse() for producing a JavaScript value from a JSON source string. It is a drop-in replacement for JSON 2. The functions behave exactly as described in the ECMAScript spec, except for the date serialization discrepancy noted below.

The JSON 3 parser does not use eval or regular expressions. This provides security and performance benefits in obsolete and mobile environments, where the margin is particularly significant. The complete benchmark suite is available on jsPerf.

The project is hosted on GitHub, along with the unit tests. It is part of the BestieJS family, a collection of best-in-class JavaScript libraries that promote cross-platform support, specification precedents, unit testing, and plenty of documentation.

Code Quality Rank: L2
Monthly Downloads: 0
Programming language: JavaScript
License: MIT License
Tags: Misc     Parser     ES5     Stringify     Spec     Lexer     Ecma     JSON    

json3 alternatives and related libraries

Based on the "Misc" category

Do you think we are missing an alternative of json3 or a related project?

Add another 'Misc' Library

json3 Recommendations

There are no recommendations yet. Be the first to promote json3!

Have you used json3? Share your experience. Write a short recommendation and json3, you and your project will be promoted on Awesome JavaScript.
Recommend json3

Recently added json3 resources

Do you know of a usefull tutorial, book or news relevant to json3?
Be the first to add one!