Metadata-Version: 2.1 Name: ujson Version: 1.35 Summary: Ultra fast JSON encoder and decoder for Python Home-page: http://www.esn.me Author: Jonas Tarnstrom Author-email: jonas.tarnstrom@esn.me License: BSD License Download-URL: http://github.com/esnme/ultrajson Platform: any Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: BSD License Classifier: Programming Language :: C Classifier: Programming Language :: Python :: 2.4 Classifier: Programming Language :: Python :: 2.5 Classifier: Programming Language :: Python :: 2.6 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.2 UltraJSON ============= .. image:: https://travis-ci.org/esnme/ultrajson.svg?branch=master :target: https://travis-ci.org/esnme/ultrajson UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3. For a more painless day to day C/C++ JSON decoder experience please checkout ujson4c_, based on UltraJSON. .. _ujson4c: http://github.com/esnme/ujson4c/ | Please checkout the rest of the projects in the Ultra series: | http://github.com/esnme/ultramemcache | http://github.com/esnme/ultramysql To install it just run Pip as usual:: $ pip install ujson ============ Usage ============ May be used as a drop in replacement for most other JSON parsers for Python:: >>> import ujson >>> ujson.dumps([{"key": "value"}, 81, True]) '[{"key":"value"},81,true]' >>> ujson.loads("""[{"key": "value"}, 81, true]""") [{u'key': u'value'}, 81, True] ~~~~~~~~~~~~~~~ Encoder options ~~~~~~~~~~~~~~~ encode_html_chars ----------------- Used to enable special encoding of "unsafe" HTML characters into safer Unicode sequences. Default is false:: >>> ujson.dumps("