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.3.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file powerfuldeveloper-json-walker-0.0.3.tar.gz.

File metadata

  • Download URL: powerfuldeveloper-json-walker-0.0.3.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.8

File hashes

Hashes for powerfuldeveloper-json-walker-0.0.3.tar.gz
Algorithm Hash digest
SHA256 17ab0547d237d6f94ceb8221c9c0495d3b8b50c2b4ba9797fb8a283095ba4c11
MD5 a7ca2dbb46ebef3fce881f19f3cb9dfd
BLAKE2b-256 9e3b0e3e2a9e761f5c67762a99437f1dcec2105a90151ee7a54c563b35d76fb5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: powerfuldeveloper_json_walker-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.8

File hashes

Hashes for powerfuldeveloper_json_walker-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 10738e1113707b7a5fc4b1a9b139f45b3361cfb734bef36eae1c35ef96e37b7d
MD5 7f16bb41b4879ee3ddd1cff607dedfad
BLAKE2b-256 09587d368fa28e70e9e2a463ab32c9f776e9f1d1a85c2994f8cdc67ed7435104

See more details on using hashes here.

Supported by

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