convert json|dict to python object
Project description
Pyon
convert json|dict to python object
Setup
pip install pyonize
Example
from pyon 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.tar.gz
(2.5 kB
view hashes)