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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for powerfuldeveloper_json_walker-0.0.4.tar.gz
Algorithm Hash digest
SHA256 cd48cec7356cd7e14954d4f9de87401789199aadb55533a9d67bcecd63be8989
MD5 e63428ed501ab110a7501ae4c7123f8e
BLAKE2b-256 195bd2ee54c830baa5cb02e95a6ed2aee654450616b701ac1ee025fdefb53934

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for powerfuldeveloper_json_walker-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7cfc8a3b8337d7a2ec4fdcb8954b7875dc7a987ba0ac5526d8a028791e9af1b7
MD5 8ed8b28223b1649c484df903602e843e
BLAKE2b-256 07b51a715e2b80946199cba291e4d39abe95c6215cb3037552719a21dc508d4e

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