[Web-SIG] Time a for JSON parser in the standard library?
Massimo Di Pierro
mdipierro at cs.depaul.edu
Tue Mar 11 05:55:04 CET 2008
It would also be nice to have a common interface to all modules that
do serialization. For example pickle, cPickle, marshall has dumps, so
json should also have dumps.
On Mar 10, 2008, at 9:51 PM, Mark Ramm wrote:
>> Well, so fix this. How hard can it be?
> A google search for "jsonlib rfc" turns up this article:
> And it looks like the two issues with simplejson are:
> 1) decoding JSON with unicode code-points outside the Basic
> Multilingual Plane
> 2) Decoding the json 1.1 as a python float rather than a decimal
> I think the author could very well be incorrect in believing that the
> spec requires using a decimal, so that just leaves the Unicode issue,
> which isn't very clearly defined in the article, but ought to be
> reasonably easy to fix.
> The spec isn't as clear as it could be about a lot of issues, but I've
> had no problems with simplejson and interoperability with the various
> the ruby json libraries, flex's json lib, and a couple of libraries
> for other languages, with no particular issues. That's not to say
> there are no bugs, but I don't think there are too many issues buried
> in there.
> Web-SIG mailing list
> Web-SIG at python.org
> Web SIG: http://www.python.org/sigs/web-sig
> Unsubscribe: http://mail.python.org/mailman/options/web-sig/
More information about the Web-SIG