couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Binns <rog...@rogerbinns.com>
Subject Re: upgrading to json2.js
Date Sun, 20 Dec 2009 02:47:54 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Anderson wrote:
> I propose we make this change now, by replacing our current JSON
> handling with json2.js, the current reference implementation.

There is also a nasty bug in the older version currently used by couchjs.
If you specify a replacer function when calling JSON.stringify and the item
being examined is a function then the output of the replacer function is
completely ignored.  (I was returning a string.)

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkstkFoACgkQmOOfHg372QTSyQCgr9A8scp7Vxk+2ZCmPUba0e5P
P6oAoLIcQFWPquv4UTqz/+PRigsDQjZj
=d2vQ
-----END PGP SIGNATURE-----


Mime
View raw message