[Web-SIG] Time a for JSON parser in the standard library?
jmillikin at gmail.com
Mon Mar 24 00:11:06 CET 2008
I've added a few issues to your tracker, regarding encoding
autodetection, support for serializing stdlib classes like
collections.deque and decimal.Decimal, and a unittest test suite.
There don't seem to be any downloads of simplejson available at
Mr. Meranda: a new version of jsonlib is released that fixes most of
the issues found in your comparison. It also has much nicer error
messages, and supports Python version 2.4.
On Sun, Mar 23, 2008 at 4:49 PM, Bob Ippolito <bob at redivi.com> wrote:
> Ok, so I made these changes (parse_float/parse_int/parse_constant) and
> a few others for simplejson 1.8.1 and moved it to google code.
> Other changes:
> * No longer escapes / by default, if you're embedding in HTML then
> you'll have to escape that yourself, I got really tired of looking at
> URLs with all of the /s escaped.
> * Optional scanstring C speedup for decoding
> * correct unicode surrogate pair decoding
> * can be used from the command-line now to validate and pretty-print
> JSON ("curl http://json/ | python -msimplejson")
> * bug fix for ensure_ascii=False decoding
> If anyone else has any complaints, bug reports, or feature requests
> they'd like to address they should speak up soon either here or on the
> issue tracker. I think it's more or less ready to go into the stdlib
> at this point.
More information about the Web-SIG