{ "info": { "author": "Matth\u00e4us G. Chajdas", "author_email": "dev@anteru.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 6 - Mature", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "SJSON\n=====\n\n**SJSON** is a small library to read/write simplified JSON, as described originally on the [Bitsquid blog](http://bitsquid.blogspot.de/2009/10/simplified-json-notation.html).\n\nLicense\n-------\n\n**SJSON** is licensed under the two-clause BSD license. See `LICENSE.txt` for details.\n\nSJSON format\n------------\n\nSJSON is very similar to normal JSON (in fact, since release 1.2.0, the SJSON library will also load plain JSON). It mostly reduces the required markup a bit. The main differences are:\n\n* Every file starts with an implicit object. That is, an empty SJSON file is equivalent to a JSON file containing `{}`.\n* Commas after a key-value pair are optional.\n* Keys don't have to be quoted as long as they are valid identifiers. An identifier consists of letters, digits, and `_`.\n* `=` is allowed in addition to `:` for key-value separation. The canonical separator is `=`.\n* C and C++ style comments are allowed.\n\nIn addition, this library provides support for raw string literals.\n\nExample\n-------\n\nJSON:\n\n {\n \"foo\" : 23,\n \"bar\" : [1, 2, 3],\n \"baz\" : {\n \"key\" : \"value\"\n }\n }\n\nSJSON:\n\n foo = 23\n bar = [1, 2, 3]\n baz = {\n // SJSON also allows for comments\n key = \"value\"\n }\n\nAs an extension, SJSON allows for raw string literals.\n\n foo = [=[This is a raw literal with embedded \" and stuff]=]\n\nUsage\n-----\n\nThe library provides four methods, similar to the Python JSON module. These are:\n\n* `dump`: Encode an object as SJSON and write to a stream.\n* `dumps`: Encode an object as SJSON and return a string.\n* `load`: Decode a SJSON encoded object from a stream.\n* `loads`: Decode a SJSON encoded object from a string.\n\nChangelog\n---------\n\n### 2.0.3\n\n* Re-release of 2.0.2.\n\n### 2.0.2\n\n* Packaging changes only. This release contains packaging changes only and has not been released to the public, use 2.0.3 instead.\n\n### 2.0.1\n\n* Add `dump` in addition to `dumps` for consistency with the Python JSON module.\n* Additional PEP8 conformance tweaks.\n\n### 2.0.0\n\n* The library is now PEP8 compliant. This should *not* affect most users of this library, the only user-visible change is that `ParseException.GetLocation` has been renamed to `get_location`. The core functions have not been renamed and are API compatible.\n\n### 1.2.0\n\n* Keys did not get quoted properly during encoding if they contained special characters.\n* List elements were incorrectly indented.\n* List indentation now accepts either a string or a number (similar to the Python JSON module.)\n* Both `:` and `=` are now supported as key-value separators, allowing the SJSON library to parse plain JSON files.\n\n### 1.1.1\n\n* Support for C/C++ style comments has been added.\n* Line/column numbers start at 1 now (previously, the first character was in line 0, column 0).\n\n### 1.1.0\n\n* Parsing performance has been significantly improved.\n* It is possible to parse a file-like stream or string now.\n\n### 1.0.4\n\n* Track position during parsing. This will likely reduce the performance a bit, but allows for much better error messages.\n* Input is byte-oriented now.\n\n### 1.0.3\n\n* Add support for raw string literals. These are delimited by `[=[` `]=]` and don't require escaping inside the string.\n\n### 1.0.2\n\n* Strings with whitespace are now properly escaped.\n\n### 1.0.1\n\n* Various fixes to string encoding/decoding bugs.\n* Encoding now uses `collections.abc` to identify sequences and mappings instead of testing directly against `list` and `dict`.\n\n### 1.0.0\n\nInitial PyPI release.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://shelter13.net/projects/SJSON", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "SJSON", "package_url": "https://pypi.org/project/SJSON/", "platform": "", "project_url": "https://pypi.org/project/SJSON/", "project_urls": { "Homepage": "http://shelter13.net/projects/SJSON" }, "release_url": "https://pypi.org/project/SJSON/2.0.3/", "requires_dist": null, "requires_python": ">=3.6", "summary": "SJSON serializer/deserializer for Python", "version": "2.0.3" }, "last_serial": 3858501, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "d9d2d4fb4be0e666e2a4b9340fa24d65", "sha256": "e883a010aaa39faab6eff61cc12394fb2d52774bd0ee93c866504f3d8be74502" }, "downloads": -1, "filename": "SJSON-1.0.0.tar.gz", "has_sig": false, "md5_digest": "d9d2d4fb4be0e666e2a4b9340fa24d65", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2796, "upload_time": "2014-09-20T13:13:40", "url": "https://files.pythonhosted.org/packages/73/ad/229f1667c076e0bb0949092236cb651c586f8a6c4618204c535208cccc61/SJSON-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "181d642e62ec78ce0faeac983ca93231", "sha256": "876b6197b03f9b8f1a654e2f90be9293c9ed38138524ac638f2b97dacb95051e" }, "downloads": -1, "filename": "SJSON-1.0.1.tar.gz", "has_sig": false, "md5_digest": "181d642e62ec78ce0faeac983ca93231", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3093, "upload_time": "2014-10-12T18:22:38", "url": "https://files.pythonhosted.org/packages/d4/76/63b150c101f76df51a20c95a2738f38542dbee66cbef4a41c138201670ef/SJSON-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "297a39da16224e94da4c7e5e0f585a26", "sha256": "cb55080b248fff2a99903c091d7bc36af9f76f027a689afb620d646969f2b58f" }, "downloads": -1, "filename": "SJSON-1.0.2.tar.gz", "has_sig": false, "md5_digest": "297a39da16224e94da4c7e5e0f585a26", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3092, "upload_time": "2014-10-12T18:38:35", "url": "https://files.pythonhosted.org/packages/47/4c/1656e774b96875ece36705748f7acd97d9e03369b4575209db6fdaa19121/SJSON-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "6213f319b9b01d27086b29c0c5a52f2c", "sha256": "b5fb5413028a62f2de12d480f4fd99509de7bbabfd9dc35ac0d7443cf618f4f9" }, "downloads": -1, "filename": "SJSON-1.0.3.tar.gz", "has_sig": false, "md5_digest": "6213f319b9b01d27086b29c0c5a52f2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3256, "upload_time": "2014-11-23T20:37:10", "url": "https://files.pythonhosted.org/packages/3f/83/3646d872ab6b243e62b3cff614176cc474a73971e2ebf7268bd6db92268c/SJSON-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "2a75af4ba5cd1df3b286e5430236ab6c", "sha256": "758d4c3d3dde74f487d5afe7643b9a62dafd37fd085478896840f0343c924a12" }, "downloads": -1, "filename": "SJSON-1.0.4.tar.gz", "has_sig": false, "md5_digest": "2a75af4ba5cd1df3b286e5430236ab6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3756, "upload_time": "2014-12-06T08:42:30", "url": "https://files.pythonhosted.org/packages/df/fb/8cf95b4cf5fae5787189d7c440b966c3d2e92d838acf791da1878043b766/SJSON-1.0.4.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "a01737571c01fe727f013941ed2a4da6", "sha256": "e768e2b0ba3b2c79aa078133ec28b4e67b615e004446bd66b6820f71201c09b6" }, "downloads": -1, "filename": "SJSON-1.1.0.tar.gz", "has_sig": false, "md5_digest": "a01737571c01fe727f013941ed2a4da6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3970, "upload_time": "2017-09-16T06:23:32", "url": "https://files.pythonhosted.org/packages/e4/44/33c312b08e5c72d331df5b7d648d15a7b108b1af4f330402afc5c0290b8b/SJSON-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "450e7562616e226e54d85c9ced6d641c", "sha256": "81a94c650abfc9e39329261988e865900e8dafafd042fc337339dce3d28f7a8d" }, "downloads": -1, "filename": "SJSON-1.1.1.tar.gz", "has_sig": false, "md5_digest": "450e7562616e226e54d85c9ced6d641c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4263, "upload_time": "2017-10-21T10:09:51", "url": "https://files.pythonhosted.org/packages/85/e7/d849d27bccc5d5e89592ea792a3bd8af7e1ea9745d3534de4d0ac45bb972/SJSON-1.1.1.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "33177cfdb97347df26d0b3200e46e669", "sha256": "e14f5b822d7068057698bba8d195d9f6869f3912dbea410783086b0c016899cf" }, "downloads": -1, "filename": "SJSON-1.2.0.tar.gz", "has_sig": false, "md5_digest": "33177cfdb97347df26d0b3200e46e669", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4384, "upload_time": "2017-11-18T14:06:18", "url": "https://files.pythonhosted.org/packages/43/12/1f1162b890e9a543ee077daaf26102e306659381d93f6e1dc2fca6f588e8/SJSON-1.2.0.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "9daa704213ae473b971af18599416f87", "sha256": "cf46c260c5190bc42e1579c63640d9c0138bc6961c56516842f172ae943bfe52" }, "downloads": -1, "filename": "SJSON-2.0.0.tar.gz", "has_sig": false, "md5_digest": "9daa704213ae473b971af18599416f87", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4708, "upload_time": "2017-11-18T14:08:20", "url": "https://files.pythonhosted.org/packages/71/9b/ce7322f652c87bf2ac888f428e79e5c64493204f36335daa7bc71465609b/SJSON-2.0.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "c83dbe7597339b356205b1f0cbd3f342", "sha256": "41451266fb1df36d6da702cf78a0a684de9dca45986f2bfb5cd1e3c59b198394" }, "downloads": -1, "filename": "SJSON-2.0.1.tar.gz", "has_sig": false, "md5_digest": "c83dbe7597339b356205b1f0cbd3f342", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4634, "upload_time": "2018-05-11T15:49:32", "url": "https://files.pythonhosted.org/packages/70/f8/f17b88188245bd8ed8b93af9445869901215e288dc179edfee38fbfbf826/SJSON-2.0.1.tar.gz" } ], "2.0.3": [ { "comment_text": "", "digests": { "md5": "bb00a9e7c5c21fd54dbc08acbb8e6561", "sha256": "1fb8869e3353d87af9ec09dbf042e19b8e22856af7060c45034a6bd220e06705" }, "downloads": -1, "filename": "SJSON-2.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "bb00a9e7c5c21fd54dbc08acbb8e6561", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 6521, "upload_time": "2018-05-13T13:00:00", "url": "https://files.pythonhosted.org/packages/02/35/56a46856004f3a8ce6ead046984f95ea6c17840da9c9dca76a7d3fae26fa/SJSON-2.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "57e4063610412efd3d5121ed4773adcd", "sha256": "f1d38b7d63f7d4a5a392552c48bb78791fcf07cf839c418fcf3295df8b8a5aa3" }, "downloads": -1, "filename": "SJSON-2.0.3.tar.gz", "has_sig": false, "md5_digest": "57e4063610412efd3d5121ed4773adcd", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 6585, "upload_time": "2018-05-13T13:00:01", "url": "https://files.pythonhosted.org/packages/4e/e5/d5b411f806e2ef0f605896421f743dbd5ab7035f4b7286909d5cd1605758/SJSON-2.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bb00a9e7c5c21fd54dbc08acbb8e6561", "sha256": "1fb8869e3353d87af9ec09dbf042e19b8e22856af7060c45034a6bd220e06705" }, "downloads": -1, "filename": "SJSON-2.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "bb00a9e7c5c21fd54dbc08acbb8e6561", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 6521, "upload_time": "2018-05-13T13:00:00", "url": "https://files.pythonhosted.org/packages/02/35/56a46856004f3a8ce6ead046984f95ea6c17840da9c9dca76a7d3fae26fa/SJSON-2.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "57e4063610412efd3d5121ed4773adcd", "sha256": "f1d38b7d63f7d4a5a392552c48bb78791fcf07cf839c418fcf3295df8b8a5aa3" }, "downloads": -1, "filename": "SJSON-2.0.3.tar.gz", "has_sig": false, "md5_digest": "57e4063610412efd3d5121ed4773adcd", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 6585, "upload_time": "2018-05-13T13:00:01", "url": "https://files.pythonhosted.org/packages/4e/e5/d5b411f806e2ef0f605896421f743dbd5ab7035f4b7286909d5cd1605758/SJSON-2.0.3.tar.gz" } ] }