Skip to content

Comment on Speed tests for *json and cPickle in Python

Comments

I'm confused, is cjson still recommended? Is it still maintained? Its status seems ambiguous based on the PyPi discussion. Furthermore it seems there's a number of issues with cjson that need to be resolved...

When I tested cjson (~6 months ago?) it had bugs with escaping - strings containing quotes and/or backslashes would be encoded/decoded incorrectly. Not recommended, unless there have been fixes since then.

Based on the PyPi page for cjson, the comments seem to indicate many problems still persist, notwithstanding new updates that have yet to be pushed

My understanding is that cjson is not recommended or maintained.

Maybe our information is out of date, but here's what we learned:

https://github.com/jsonpickle/jsonpickle/commit/0b97652e4102...

jsonpickle: Remove cjson support

"First, please don't use cjson for anything. It's got multiple bugs and misfeatures, and is generally unsuited for anything except impressive benchmarks. It was easier to write my own library, from scratch, than try to fix cjson."

-- John Millikin, author of jsonlib

sounds like the kind of project a decent coder could make big improvements on fast

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.