{ "info": { "author": "Jonas Tarnstrom, Pawel Troka", "author_email": "jonas.tarnstrom@esn.me, pawel.troka@outlook.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: C", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "UltraJSON-x\n=============\n.. image:: https://travis-ci.org/PawelTroka/ultrajson-x.svg?branch=master\n :target: https://travis-ci.org/PawelTroka/ultrajson-x\n\nUltraJSON-x 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.. code-block:: sh\n\n $ pip install ujson-x\n\n============\nUsage\n============\nMay be used as a drop in replacement for most other JSON parsers for Python:\n\n.. code-block:: 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.. code-block:: python\n\n >>> ujson.dumps(\"