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.5.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.5-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for powerfuldeveloper_json_walker-0.0.5.tar.gz
Algorithm Hash digest
SHA256 0313b25f328cedf0243d328b2afa4ed4d55c7a4716380fde2484837ba911d465
MD5 5880cb73dea550dcd4d05bfe78ae9b37
BLAKE2b-256 ec4200a89b5a9fdc9bd7333ac86ed4f8f9263cb9c17e917a0679d35cfcad0009

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for powerfuldeveloper_json_walker-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e810ccbe0d0c7646ccd6777fcd1d22fc05581ab34f64ba8e7d2a1aba06df5355
MD5 ebbb135b4f96853a4c101640195f6539
BLAKE2b-256 631316e6a0679fd16ffca460a0109dc635a2275c5bccbfe6c907895ac7ec962a

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