{ "info": { "author": "Rune Halvorsen", "author_email": "runefh@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.4", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: Jython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "##############################\nanyjson - JSON library wrapper\n##############################\n\nOverview\n--------\n\nAnyjson loads whichever is the fastest JSON module installed and provides\na uniform API regardless of which JSON implementation is used.\n\nOriginally part of carrot (http://github.com/ask/carrot/)\n\nExamples\n--------\n\nTo serialize a python object to a JSON string, call the `serialize` function:\n\n>>> import anyjson\n>>> anyjson.serialize([\"test\", 1, {\"foo\": 3.141592}, \"bar\"])\n'[\"test\", 1, {\"foo\": 3.141592}, \"bar\"]'\n\nConversion the other way is done with the `deserialize` call.\n\n>>> anyjson.deserialize(\"\"\"[\"test\", 1, {\"foo\": 3.141592}, \"bar\"]\"\"\")\n['test', 1, {'foo': 3.1415920000000002}, 'bar']\n\nRegardless of the JSON implementation used, the exceptions will be the same.\nThis means that trying to serialize something not compatible with JSON\nraises a TypeError:\n\n>>> anyjson.serialize([object()])\nTraceback (most recent call last):\n \nTypeError: object is not JSON encodable\n\nAnd deserializing a JSON string with invalid JSON raises a ValueError:\n\n>>> anyjson.deserialize(\"\"\"['missing square brace!\"\"\")\nTraceback (most recent call last):\n \nValueError: cannot parse JSON description\n\n\nContact\n-------\n\nThe module is maintaned by Rune F. Halvorsen .\nThe project resides at http://bitbucket.org/runeh/anyjson . Bugs and feature\nrequests can be submitted there. Patches are also very welcome.\n\nChangelog\n---------\n\nSee CHANGELOG file\n\nLicense\n-------\n\nsee the LICENSE file", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/runeh/anyjson/", "keywords": "json", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "anyjson", "package_url": "https://pypi.org/project/anyjson/", "platform": "any", "project_url": "https://pypi.org/project/anyjson/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/runeh/anyjson/" }, "release_url": "https://pypi.org/project/anyjson/0.3.3/", "requires_dist": null, "requires_python": null, "summary": "Wraps the best available JSON implementation available in a common interface", "version": "0.3.3" }, "last_serial": 786313, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "ed7547d70c497f60808ab0d2841ca108", "sha256": "919fad6094425896a6394657488d4b7c125af7bbde7499e95b77cfe00ad52009" }, "downloads": -1, "filename": "anyjson-0.1.tar.gz", "has_sig": false, "md5_digest": "ed7547d70c497f60808ab0d2841ca108", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1235, "upload_time": "2009-06-20T22:33:38", "url": "https://files.pythonhosted.org/packages/b3/e2/2fe3b13a68b46eadb47bd114ca3eb4a10e7a1af2efc36ed35db407d653ec/anyjson-0.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "7890252975a0efa634900e72fcbca875", "sha256": "d027964217aecf80baa6c0283ffcfe941616bffc80b5a8a884c8b23aa3b4d85f" }, "downloads": -1, "filename": "anyjson-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7890252975a0efa634900e72fcbca875", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3111, "upload_time": "2009-07-05T00:12:54", "url": "https://files.pythonhosted.org/packages/4e/85/cab192e914a67d8950143915ecc4c9e53c599e3769398a18ab478b7abe56/anyjson-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "3d6b29cb4c81af331f650fabad3cb73b", "sha256": "5ad00adaf2d9198e7bb7164f4ad47c05efce91df94041d47e51d0a3f444c6472" }, "downloads": -1, "filename": "anyjson-0.2.1.tar.gz", "has_sig": false, "md5_digest": "3d6b29cb4c81af331f650fabad3cb73b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3603, "upload_time": "2009-07-23T00:23:28", "url": "https://files.pythonhosted.org/packages/eb/f2/fa189698b5cf3ed998bb6de0a14af0489664b2b065f8e40f6e1a046bb95d/anyjson-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "626bc3fa2531762b772100b23f4a0925", "sha256": "9f5f2f2d7c8174bfb024eb31068438effcd87daa7f1dcffaf7c8a69232fffae4" }, "downloads": -1, "filename": "anyjson-0.2.2.tar.gz", "has_sig": false, "md5_digest": "626bc3fa2531762b772100b23f4a0925", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3397, "upload_time": "2009-09-26T00:33:27", "url": "https://files.pythonhosted.org/packages/67/06/bea68f44b879aad7e1dae23334e5c138f4a83247809a3c52905daaa7c943/anyjson-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "f1efac0d1b47402c9747e39e8a2957c6", "sha256": "94c13fabfb44b206ff60bdebf7de1687454e55e4e3a1de40a538e6c2f22c841a" }, "downloads": -1, "filename": "anyjson-0.2.3.tar.gz", "has_sig": false, "md5_digest": "f1efac0d1b47402c9747e39e8a2957c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4653, "upload_time": "2010-01-28T12:03:53", "url": "https://files.pythonhosted.org/packages/a7/95/4a3476b54ea1f793b1e8e00c37bdc7990f03a8c69c106865899bb3e70aba/anyjson-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "ed707033ad6cee0a44db199c289a4c80", "sha256": "27ddec5bc9220c13f405cb30adee9b5db17a608f56935618785219348c8a90ac" }, "downloads": -1, "filename": "anyjson-0.2.4.tar.gz", "has_sig": false, "md5_digest": "ed707033ad6cee0a44db199c289a4c80", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4781, "upload_time": "2010-04-16T21:50:47", "url": "https://files.pythonhosted.org/packages/a9/68/eac17d1c185cbd253cc5b98c06e144bfaab871e562dbcbabce6cfaef752a/anyjson-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "ac507f600bc8cd0cd92b5b943f46c0aa", "sha256": "c7976a859d537cb22cfe130f4987e6a64e7c34edced8123153414d47cb11555d" }, "downloads": -1, "filename": "anyjson-0.2.5.tar.gz", "has_sig": false, "md5_digest": "ac507f600bc8cd0cd92b5b943f46c0aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4865, "upload_time": "2010-09-09T17:09:31", "url": "https://files.pythonhosted.org/packages/3e/10/c29abc44526b9acee59a1fa626d14df6ebecb2d71003f7cb0f95d022b024/anyjson-0.2.5.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "28124eeb1a96e6631ae67bcb7a30ef48", "sha256": "458d1b1b054645abaeede6432f0e04b5cc8542d2325c9f44527c9847aaaf1533" }, "downloads": -1, "filename": "anyjson-0.3.tar.gz", "has_sig": false, "md5_digest": "28124eeb1a96e6631ae67bcb7a30ef48", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5020, "upload_time": "2010-12-03T15:21:11", "url": "https://files.pythonhosted.org/packages/cb/fe/9b108a73db25aa96014665e28bd0eaded5974941b84ea6bfac037838df1d/anyjson-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "2b53b5d53fc40af4da7268d3c3e35a50", "sha256": "1643c0adb7dbecc4331437ee14ef5f6a3d55b4ffca147db1cc957dc966062340" }, "downloads": -1, "filename": "anyjson-0.3.1.tar.gz", "has_sig": false, "md5_digest": "2b53b5d53fc40af4da7268d3c3e35a50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5161, "upload_time": "2011-03-22T12:15:00", "url": "https://files.pythonhosted.org/packages/d6/bb/6927c142fe318894e98fa4755330be9855974bff85e744a5863b073b66b0/anyjson-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "47009cbb4ea25d04739119321e7f74e7", "sha256": "84399fa7d58859c8b487ea5b4d27e981b17f48dc29fe7278807a465f9408472c" }, "downloads": -1, "filename": "anyjson-0.3.2.tar.gz", "has_sig": false, "md5_digest": "47009cbb4ea25d04739119321e7f74e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9366, "upload_time": "2012-06-21T17:05:45", "url": "https://files.pythonhosted.org/packages/75/4c/8619bed9ad62a9ad15bdf5a94728844e70b749e31ce922bf8a382fb82c55/anyjson-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "2ea28d6ec311aeeebaf993cb3008b27c", "sha256": "37812d863c9ad3e35c0734c42e0bf0320ce8c3bed82cd20ad54cb34d158157ba" }, "downloads": -1, "filename": "anyjson-0.3.3.tar.gz", "has_sig": false, "md5_digest": "2ea28d6ec311aeeebaf993cb3008b27c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8332, "upload_time": "2012-06-22T01:12:14", "url": "https://files.pythonhosted.org/packages/c3/4d/d4089e1a3dd25b46bebdb55a992b0797cff657b4477bc32ce28038fdecbc/anyjson-0.3.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2ea28d6ec311aeeebaf993cb3008b27c", "sha256": "37812d863c9ad3e35c0734c42e0bf0320ce8c3bed82cd20ad54cb34d158157ba" }, "downloads": -1, "filename": "anyjson-0.3.3.tar.gz", "has_sig": false, "md5_digest": "2ea28d6ec311aeeebaf993cb3008b27c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8332, "upload_time": "2012-06-22T01:12:14", "url": "https://files.pythonhosted.org/packages/c3/4d/d4089e1a3dd25b46bebdb55a992b0797cff657b4477bc32ce28038fdecbc/anyjson-0.3.3.tar.gz" } ] }