djson-0.1.1


توضیحات

A different JSON parser for Python.
ویژگی مقدار
سیستم عامل -
نام فایل djson-0.1.1
نام djson
نسخه کتابخانه 0.1.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده damnever
ایمیل نویسنده dxc.wolf@gmail.com
آدرس صفحه اصلی https://github.com/damnever/djson
آدرس اینترنتی https://pypi.org/project/djson/
مجوز The BSD 3-Clause License
A different JSON parser for Python ================================== .. image:: https://img.shields.io/travis/damnever/djson.svg?style=flat-square :target: https://travis-ci.org/damnever/djson .. image:: https://img.shields.io/pypi/v/djson.svg?style=flat-square :target: https://pypi.python.org/pypi/djson WTF --- -_-# : .. code:: python import json json.loads(r"""{"a": "good", 123: "fuck!", false: "fuck!!", null: "fuck!!!"}""") ^_^ : .. code:: python import djson djson.loads(r"""{"a": "good", 123: "well done!", true: "excellent!!", null: "I love djson!!!"}""") Installation ------------ pip install djson APIs ---- - load(str) -> dict() - loads(file) -> dict(): file is a iterable file-like object. - dump(obj, file=sys.stdout, encoder=JSONEncoder): Rewrite JOSNEncoder to support custom object. **NOTE**: returned string must like this: ``'"string"'``. - dumps(obj, encoder=JSONEncoder) -> str Examples -------- See `examples/ <https://github.com/Damnever/djson/tree/master/examples>`_ LICENSE ------- `The BSD 3-Clause License <https://github.com/Damnever/pigar/blob/master/LICENSE>`_


نحوه نصب


نصب پکیج whl djson-0.1.1:

    pip install djson-0.1.1.whl


نصب پکیج tar.gz djson-0.1.1:

    pip install djson-0.1.1.tar.gz