Metadata-Version: 2.4
Name: check-json-format
Version: 1.0.2
Summary: Validate JSON files for format correctness and duplicate keys.
Author: Pandiyaraj Karuppasamy
License-File: LICENSE
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# check_json_format

Validate JSON files for format correctness and duplicate keys.

## Author

**Pandiyaraj Karuppasamy** — pandiyarajk@live.com

## Install

```bash
pip install check-json-format
```

## Requirements

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

## Usage

```bash
check-json-format <json_file_path>
```

Or as a module:

```bash
python -m check_json_format <json_file_path>
```

Example:

```bash
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](LICENSE).
