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')
Release files for powerfuldeveloper-json-walker 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| powerfuldeveloper_json_walker-0.0.6.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| powerfuldeveloper_json_walker-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.0 kB
Release files / powerfuldeveloper_json_walker-0.0.6.tar.gz
| Download URL | powerfuldeveloper_json_walker-0.0.6.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
654aecc2c5c4ce7b08dc12492a817db100b3346ee9a6128dbe15f905386ae50f
|
|
BLAKE2b-256 checksum How to use checksums |
1ca825b6019cc9d4bee528d74ddb1218be98adbb896c0470ab2ea41033c3b99d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / powerfuldeveloper_json_walker-0.0.6-py3-none-any.whl
| Download URL | powerfuldeveloper_json_walker-0.0.6-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75cb5a15cfff3572b341bd14cfb0a4418df372ea562f67d642272acff8750297
|
|
BLAKE2b-256 checksum How to use checksums |
af5c7551b6b2469fdb07cf7f4e1c49a2eb62cacfd73d68ac47cf4b3a57938730
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|