# JSONC
## Install
```
pip install jsoncparser
```
## Getting Started
To use JSONC, add the following import statement to your code
```python
import jsonc
```
You can then use the four functions below to interact with your jsonc file and data
```
jsonc.load(file)
jsonc.loads(str)
jsonc.dumps(JSONCDict)
jsonc.dump(JSONCDict, file)
```
In addition, you can access the dictionary _with_ stored comments by using
```
data_dict = JSONCDict()
data_dict.with_comments
```
Raw data
{
"_id": null,
"home_page": "https://github.com/jfcarter2358/jsonc",
"name": "jsoncparser",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "",
"author": "John Carter",
"author_email": "jfcarter2358@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/f3/f2/40c8eade66638aff6ca4873e8f283894537eeb458689decbd1a9b020d2cd/jsoncparser-1.1.0.tar.gz",
"platform": null,
"description": "# JSONC\n\n## Install\n\n```\npip install jsoncparser\n```\n\n## Getting Started\n\nTo use JSONC, add the following import statement to your code\n\n```python\nimport jsonc\n```\n\nYou can then use the four functions below to interact with your jsonc file and data\n\n```\njsonc.load(file)\njsonc.loads(str)\njsonc.dumps(JSONCDict)\njsonc.dump(JSONCDict, file)\n```\n\nIn addition, you can access the dictionary _with_ stored comments by using\n\n```\ndata_dict = JSONCDict()\ndata_dict.with_comments\n```\n\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python package to enable reading/writing of json files with comments",
"version": "1.1.0",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "d1297997a7a0b5cfa2cdf7a79faf6071",
"sha256": "12d139e3d41f1c4cfe9c0af85a0cadffe7c1a0327b5a414d5bd05f159c792d89"
},
"downloads": -1,
"filename": "jsoncparser-1.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d1297997a7a0b5cfa2cdf7a79faf6071",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 5851,
"upload_time": "2022-11-30T16:47:17",
"upload_time_iso_8601": "2022-11-30T16:47:17.199405Z",
"url": "https://files.pythonhosted.org/packages/85/b7/617de8cf177d98449140b56bd8484c25416b97aa9b6572a015154816bc65/jsoncparser-1.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "52cb3ae3ef33826aabab36eb3f14e632",
"sha256": "204e5aac3cb2766fb649793c9300d65866371bfd65eccc810fb88312475f6dc2"
},
"downloads": -1,
"filename": "jsoncparser-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "52cb3ae3ef33826aabab36eb3f14e632",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 5529,
"upload_time": "2022-11-30T16:47:19",
"upload_time_iso_8601": "2022-11-30T16:47:19.994864Z",
"url": "https://files.pythonhosted.org/packages/f3/f2/40c8eade66638aff6ca4873e8f283894537eeb458689decbd1a9b020d2cd/jsoncparser-1.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-11-30 16:47:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "jfcarter2358",
"github_project": "jsonc",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "jsoncparser"
}