Skip to main content

Walk on jsons like nothing :)

Project description

Powerfuldeveloper Json Walker

Walk on jsons like it's nothing 😎

Usage

Just give JsonWalker class the json which you want to pars and this class is able to give you feet which need to walk on json !

from powerfuldeveloper.json_walker import JsonWalker

some_json = {
    "key_1": 'test',
    "key_2": 1,
}
json_walker = JsonWalker(some_json)
print(json_walker.key_1) 
# test
print(type(json_walker.key_1)) 
# JsonWalker
print(json_walker.key_1.inner_key_1) 
# None
print(type(json_walker.key_1.inner_key_1)) 
# JsonWalker
if json_walker.key_1.inner_key_1:
    print('inner key 1 exists')

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

powerfuldeveloper_json_walker-0.0.6.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

powerfuldeveloper_json_walker-0.0.6-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file powerfuldeveloper_json_walker-0.0.6.tar.gz.

File metadata

File hashes

Hashes for powerfuldeveloper_json_walker-0.0.6.tar.gz
Algorithm Hash digest
SHA256 654aecc2c5c4ce7b08dc12492a817db100b3346ee9a6128dbe15f905386ae50f
MD5 9bc7a50360d0fcbfac969e9d8ca23086
BLAKE2b-256 1ca825b6019cc9d4bee528d74ddb1218be98adbb896c0470ab2ea41033c3b99d

See more details on using hashes here.

File details

Details for the file powerfuldeveloper_json_walker-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for powerfuldeveloper_json_walker-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 75cb5a15cfff3572b341bd14cfb0a4418df372ea562f67d642272acff8750297
MD5 8fcd3bec2d31e5b61159ece0bc79b504
BLAKE2b-256 af5c7551b6b2469fdb07cf7f4e1c49a2eb62cacfd73d68ac47cf4b3a57938730

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page