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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file powerfuldeveloper_json_walker-0.0.6.tar.gz.
File metadata
- Download URL: powerfuldeveloper_json_walker-0.0.6.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
654aecc2c5c4ce7b08dc12492a817db100b3346ee9a6128dbe15f905386ae50f
|
|
| MD5 |
9bc7a50360d0fcbfac969e9d8ca23086
|
|
| BLAKE2b-256 |
1ca825b6019cc9d4bee528d74ddb1218be98adbb896c0470ab2ea41033c3b99d
|
File details
Details for the file powerfuldeveloper_json_walker-0.0.6-py3-none-any.whl.
File metadata
- Download URL: powerfuldeveloper_json_walker-0.0.6-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75cb5a15cfff3572b341bd14cfb0a4418df372ea562f67d642272acff8750297
|
|
| MD5 |
8fcd3bec2d31e5b61159ece0bc79b504
|
|
| BLAKE2b-256 |
af5c7551b6b2469fdb07cf7f4e1c49a2eb62cacfd73d68ac47cf4b3a57938730
|