Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't know if it's pure python but.

  import json
Does in fact give you a working JSON parser. I wasn't aware there was a different one to use.


There's quite a few json parsers for python:

* the standard library's json, which stems from a merge of simplejson way back

* simplejson

* ujson which can be much faster but is not exactly sound[0]

* cjson

* jsonlib

* demjson

* pyyaml (since yaml is a json superset)

[0] http://mod16.org/hurfdurf/?p=266




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: