{ "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.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "UltraJSON (Internet Archive Fork)\n=================================\n.. image:: https://travis-ci.org/internetarchive/ultrajson.svg?branch=master\n :target: https://travis-ci.org/internetarchive/ultrajson\n\nAbout this fork\n~~~~~~~~~~~~~~~\n\nWe use this version at the Internet Archive. We have merged @vdmit11's changes from https://github.com/dignio/ultrajson and the latest from upstream master, and may continue to make other tweaks. \n\nTo install:\n\n.. code-block:: sh\n\n $ pip install ujson-ia\n\nBack to your regularly scheduled readme\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\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\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(\"