Skip to main content

check_json_format

Validate JSON files for format correctness and duplicate keys.

Author

Pandiyaraj Karuppasamy — pandiyarajk@live.com

Install

pip install check-json-format

Requirements

  • Python 3.6+
  • No external dependencies (standard library only)

Usage

check-json-format <json_file_path>

Or as a module:

python -m check_json_format <json_file_path>

Example:

check-json-format config.json

What it does

  • Format validation — Valid JSON syntax (brackets, commas, etc.).
  • Duplicate keys — Reports duplicate keys in objects (including nested).
  • Errors — Handles missing files, permission errors, and encoding issues.

Output

  • Valid — SUCCESS: Valid JSON format and [SUCCESS] No duplicate keys found.
  • Invalid — Parser error details.
  • File issues — Clear messages for not found, permission denied, or encoding errors.

License

MIT — see LICENSE.

Metadata

Release files for check-json-format 1.0.2

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

Source distribution (sdist)

Source distribution for check-json-format 1.0.2
File Size Uploaded Provenance
check_json_format-1.0.2.tar.gz 8.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for check-json-format 1.0.2
File Interpreter ABI Platform
check_json_format-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.1 kB

Release files / check_json_format-1.0.2.tar.gz

Download URL check_json_format-1.0.2.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6ff4cc92b9ac4c990d981ff735591737b3b7dddfd3584b9f09ae6351846f5021
BLAKE2b-256 checksum
How to use checksums
5923c5c03ddda4caa6726dc8fb56ba39be15ec50f84c7014ec1716f0cbc8a511
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / check_json_format-1.0.2-py3-none-any.whl

Download URL check_json_format-1.0.2-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
691cd3b740814bbd047cda7e60a39d963fadf4284a74e89c15c10d73fc6cde48
BLAKE2b-256 checksum
How to use checksums
18117ab90cfc9d78e5d5ca857bdf294381eb9dfbfff780c692bfbd0a24b99c67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for check-json-format 1.0.2

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.

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