jsondump


Namejsondump JSON
Version 0.1 PyPI version JSON
download
home_pagehttps://github.com/devguru008/jsondump
SummarySerialize a object including it's function into a JSON.
upload_time2024-07-05 01:34:08
maintainerNone
docs_urlNone
authorJack Watson
requires_python>=3.6
licenseMIT
keywords json serialize dumps loads unserialize
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # jsondump

Serialize a object including it's function into a JSON.


## Install

```
pip install jsondump
```

## Usage

```python
import jsondump
```

Serialize an object including it's function:


```python
obj = {
  'name': 'Bob',
  'say': ['Hello', 'World']
}

objS = jsondump.dumps(obj)
type(objS) is str
jsondump.loads(objS).name == 'Bob'
```

Serialize an object with a sub object:

```python
var objWithSubObj = {
  'obj': {
    'name': 'Jeff',
    'say': ['Hello', 'World']
  }
}

objWithSubObjS = jsondump.dumps(objWithSubObj);
type(objWithSubObjS) is str
jsondump.loads(objWithSubObjS).obj.name == 'Jeff'
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/devguru008/jsondump",
    "name": "jsondump",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "json serialize dumps loads unserialize",
    "author": "Jack Watson",
    "author_email": "jackp.watson888@outlook.com",
    "download_url": "https://files.pythonhosted.org/packages/b5/59/4e6fba02b7dab9a49889a506661d86d60e28e9144cd10171203f786e27ad/jsondump-0.1.tar.gz",
    "platform": null,
    "description": "# jsondump\n\nSerialize a object including it's function into a JSON.\n\n\n## Install\n\n```\npip install jsondump\n```\n\n## Usage\n\n```python\nimport jsondump\n```\n\nSerialize an object including it's function:\n\n\n```python\nobj = {\n  'name': 'Bob',\n  'say': ['Hello', 'World']\n}\n\nobjS = jsondump.dumps(obj)\ntype(objS) is str\njsondump.loads(objS).name == 'Bob'\n```\n\nSerialize an object with a sub object:\n\n```python\nvar objWithSubObj = {\n  'obj': {\n    'name': 'Jeff',\n    'say': ['Hello', 'World']\n  }\n}\n\nobjWithSubObjS = jsondump.dumps(objWithSubObj);\ntype(objWithSubObjS) is str\njsondump.loads(objWithSubObjS).obj.name == 'Jeff'\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Serialize a object including it's function into a JSON.",
    "version": "0.1",
    "project_urls": {
        "Homepage": "https://github.com/devguru008/jsondump"
    },
    "split_keywords": [
        "json",
        "serialize",
        "dumps",
        "loads",
        "unserialize"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d3f38fe119e42eef6e813ce22bdb4525120a84680fd2e22c594366a54589e9d1",
                "md5": "be1a49ec497001bc458464f68be4bc18",
                "sha256": "9bfcff5d036cfef6475b04c60ddabbbe6be04b9ab627bf65a687b6f1d7b25654"
            },
            "downloads": -1,
            "filename": "jsondump-0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "be1a49ec497001bc458464f68be4bc18",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 3466,
            "upload_time": "2024-07-05T01:34:05",
            "upload_time_iso_8601": "2024-07-05T01:34:05.745364Z",
            "url": "https://files.pythonhosted.org/packages/d3/f3/8fe119e42eef6e813ce22bdb4525120a84680fd2e22c594366a54589e9d1/jsondump-0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b5594e6fba02b7dab9a49889a506661d86d60e28e9144cd10171203f786e27ad",
                "md5": "df68a8c8b0f40edac5a08d560e9391c9",
                "sha256": "ee5a82aa50d945eaf0b103c45fd10f24533fc734b997e0cd9b5b25ce587dcdcd"
            },
            "downloads": -1,
            "filename": "jsondump-0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "df68a8c8b0f40edac5a08d560e9391c9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3217,
            "upload_time": "2024-07-05T01:34:08",
            "upload_time_iso_8601": "2024-07-05T01:34:08.057898Z",
            "url": "https://files.pythonhosted.org/packages/b5/59/4e6fba02b7dab9a49889a506661d86d60e28e9144cd10171203f786e27ad/jsondump-0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-05 01:34:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "devguru008",
    "github_project": "jsondump",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "jsondump"
}
        
Elapsed time: 0.47564s