{ "info": { "author": "Audrey Roy", "author_email": "audreyr@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3" ], "description": "===============================\njson262\n===============================\n\n.. image:: https://badge.fury.io/py/json262.png\n :target: http://badge.fury.io/py/json262\n \n.. image:: https://travis-ci.org/audreyr/json262.png?branch=master\n :target: https://travis-ci.org/audreyr/json262\n\n.. image:: https://pypip.in/d/json262/badge.png\n :target: https://pypi.python.org/pypi/json262\n\n\nJSON encoder fully compliant with ECMA-262 specification.\n\n* Free software: BSD license\n* Documentation: http://json262.readthedocs.org.\n\nFeatures\n--------\n\nSupport for all objects that the Python stdlib's `json.JSONEncoder` can encode, plus:\n\n* `datetime.datetime`\n* `datetime.date`\n* `datetime.time`\n* `decimal.Decimal`\n\nWorks on Python 2.6, 2.7, 3.3. Probably works on 3.4 and 3.5 but I haven't set up tests for those with Tox yet.\n\nQuickstart\n----------\n\nUse `JSON262Encoder` as you would use `json.JSONEncoder` from the Python standard library::\n\n >>> import datetime\n >>> import json\n >>> from json262 import JSON262Encoder\n\n >>> json.dumps({'day': datetime.date(2010, 2, 17)}, cls=JSON262Encoder)\n '{\"day\": \"2010-02-17\"}'\n\n\n\n\nHistory\n-------\n\n0.2.0 (2014-05-20)\n------------------\n\n* Full implementation with tests.\n* Separate `encoders` module for encoder functions.\n* Bump to Alpha.\n\n0.1.0 (2014-05-18)\n------------------\n\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/audreyr/json262", "keywords": "json262", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "json262", "package_url": "https://pypi.org/project/json262/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/json262/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/audreyr/json262" }, "release_url": "https://pypi.org/project/json262/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "JSON encoder fully compliant with ECMA-262 specification.", "version": "0.2.0" }, "last_serial": 1098890, "releases": { "0.1.0": [], "0.2.0": [ { "comment_text": "", "digests": { "md5": "0977a0085c961a822b3d58889cb04e1b", "sha256": "ba3453bebd413914d10864da2e752d8293c42a4ef52058a13f80afa195716b43" }, "downloads": -1, "filename": "json262-0.2.0.tar.gz", "has_sig": false, "md5_digest": "0977a0085c961a822b3d58889cb04e1b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12283, "upload_time": "2014-05-20T17:24:47", "url": "https://files.pythonhosted.org/packages/c2/80/6e5ff3489a393fde849dffbdebbc942bda87139d051588e20eb8dcaeea8c/json262-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0977a0085c961a822b3d58889cb04e1b", "sha256": "ba3453bebd413914d10864da2e752d8293c42a4ef52058a13f80afa195716b43" }, "downloads": -1, "filename": "json262-0.2.0.tar.gz", "has_sig": false, "md5_digest": "0977a0085c961a822b3d58889cb04e1b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12283, "upload_time": "2014-05-20T17:24:47", "url": "https://files.pythonhosted.org/packages/c2/80/6e5ff3489a393fde849dffbdebbc942bda87139d051588e20eb8dcaeea8c/json262-0.2.0.tar.gz" } ] }