Last Updated: February 25, 2016
·
1.346K
· bumstyla

Use JSON3 instead of JSON2 library

We recently started using the JSON3 library as it

  1. Correctly serializes primitive wrapper objects.
  2. Throws a TypeError when serializing cyclic structures (JSON 2 recurses until the call stack overflows).
  3. Utilizes feature tests to detect broken or incomplete native JSON implementations (JSON 2 only checks for the presence of the native functions). The tests are only executed once at runtime, so there is no additional performance cost when parsing or serializing values.

You ca download it from the this link
Link