Skip to main content

json-analyze

A small tool to check JSON data for structural and data inconsistencies.

Given this JSON object:

{
  "a": [1,2,3,"hi"],
  "c": [
    123,
    2.34,
    "bye",
    [],
    {},
    {"a":  123},
    {"a":  null}
  ]
}

Executing json-analyze -f example.json will display:

Key       Type        Values    Distinct  Min           Max
--------  --------  --------  ----------  ------------  ------------
$         Dict             1           1  Dict(size=2)  Dict(size=2)
$.a       Iter             1           1  Iter(size=4)  Iter(size=4)
$.a[*]    int              3           3  1             3
          str              1           1  hi            hi
$.c       Iter             1           1  Iter(size=7)  Iter(size=7)
$.c[*]    float            1           1  2.34          2.34
          int              1           1  123           123
          Dict             3           2  Dict(size=0)  Dict(size=1)
          Iter             1           1  Iter(size=0)  Iter(size=0)
          str              1           1  bye           bye
$.c[*].a  NoneType         1           1
          int              1           1  123           123

Development

black .
rm -rv dist/
python setup.py sdist bdist_wheel
twine upload dist/*

Metadata

Release files for json-analyze 0.3.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-analyze 0.3.0
File Size Uploaded Provenance Actions
json-analyze-0.3.0.tar.gz 3.4 kB Without provenance Details for json-analyze-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for json-analyze 0.3.0
File Interpreter ABI Platform Actions
json_analyze-0.3.0-py3-none-any.whl Python 3 none any Details for json_analyze-0.3.0-py3-none-any.whl

Total release size: 7.7 kB

Release files / json-analyze-0.3.0.tar.gz

Download URL json-analyze-0.3.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
170e49d46f4b72f6273b10a9879bb3db1293303ca32532ede26ccfc172b9ffc7
BLAKE2b-256 checksum
How to use checksums
cfe8e1c3ab313d93ec04d7ea18655b09f280ccd9a59b11079f0bacb5480a8d26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Release files / json_analyze-0.3.0-py3-none-any.whl

Download URL json_analyze-0.3.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f161d0c5da6beed3c26b126436ab0e49cafa75d7ca61fc7cb9b42bd90aebdbe
BLAKE2b-256 checksum
How to use checksums
9fbd871608cb0fc9f55ba58cc2ce33d9da20270ce1beb8e313f8e673d30736a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Security for json-analyze 0.3.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.3.0 This release

2 release files 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