convert json|dict to python object
Project description
Pyonize
convert json|dict to python object
Setup
pip install pyonize
Example
from pyonize import pyonize
def example():
deneme = pyonize({"id":1,"name":"bilal","job":{"id":1,"title":"CTO"}})
print(type(deneme))
print(deneme.name)
print(deneme.job)
print(deneme.job.title)
example()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyonize-0.1.2.1.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for pyonize-0.1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 606005e47932d4847ae825a9b2fc3a6ad87318952379e333c2ef7576148fb757 |
|
MD5 | 253acebb5d884f503df5318e75f66bd7 |
|
BLAKE2b-256 | b69a219039e602c463e5c08c054ec0a41c0ac62fc6aa5a6d22a3e80ec61c6fea |