{ "info": { "author": "Jonas Tarnstrom", "author_email": "jonas.tarnstrom@esn.me", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: C", "Programming Language :: Python :: 2.4", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2" ], "description": "UltraJSON\n=============\n.. image:: https://travis-ci.org/esnme/ultrajson.svg?branch=master\n :target: https://travis-ci.org/esnme/ultrajson\n\nUltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3.\n\nFor a more painless day to day C/C++ JSON decoder experience please checkout ujson4c_, based on UltraJSON.\n\n.. _ujson4c: http://github.com/esnme/ujson4c/\n\n| Please checkout the rest of the projects in the Ultra series:\n| http://github.com/esnme/ultramemcache\n| http://github.com/esnme/ultramysql\n\nTo install it just run Pip as usual::\n\n $ pip install ujson\n\n============\nUsage\n============\nMay be used as a drop in replacement for most other JSON parsers for Python::\n\n >>> import ujson\n >>> ujson.dumps([{\"key\": \"value\"}, 81, True])\n '[{\"key\":\"value\"},81,true]'\n >>> ujson.loads(\"\"\"[{\"key\": \"value\"}, 81, true]\"\"\")\n [{u'key': u'value'}, 81, True]\n\n~~~~~~~~~~~~~~~\nEncoder options\n~~~~~~~~~~~~~~~\nencode_html_chars\n-----------------\nUsed to enable special encoding of \"unsafe\" HTML characters into safer Unicode sequences. Default is false::\n\n >>> ujson.dumps(\"