Skip to main content

json_tools

A tool for analysis json content

How to use

import json_tools
test_data = {
    'a':{
        'b':{
            'c':'123',
            'd':{
                'c':123,
            },
            'e':[{'a':1}, {'b':2}, {'c':3}],
            'f':[
                {'a':
                    {'c':1}
                },
                {'b':
                    {'c':2}
                }
            ]
        }
    }
}
for ret in json_tools.search(test_data, 'c'):
    print(ret)

result:

['a', 'b', 'c']
['a', 'b', 'd', 'c']
['a', 'b', 'e', 2, 'c']
['a', 'b', 'f', 0, 'a', 'c']
['a', 'b', 'f', 1, 'b', 'c']

Metadata

Release files for json-tools-python 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for json-tools-python 0.1.0
File Size Uploaded Provenance Actions
json-tools-python-0.1.0.macosx-11.4-x86_64.tar.gz 3.6 kB Without provenance Details for json-tools-python-0.1.0.macosx-11.4-x86_64.tar.gz

Release files / json-tools-python-0.1.0.macosx-11.4-x86_64.tar.gz

Download URL json-tools-python-0.1.0.macosx-11.4-x86_64.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
769b21efddf071e9360722f773c252f4943f9f5fcc0e93121b7ad6885eb98760
BLAKE2b-256 checksum
How to use checksums
291c47c466d4de56f01372733d58c5bc405c965a40a0f82de234d33369ee27a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

Security for json-tools-python 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page