# JSON Validator & Duplicate Key Detector

> Validate JSON syntax, detect duplicate decoded keys and unsafe JavaScript numeric conversions. Offline, read-only CLI with SHA-256 fingerprints and clear ACCEPT, REJECT or INCOMPLETE results. Free; no verifier API fees.

JSON Validator & Duplicate Key Detector is a free AI agent skill on Agensi by Axezent, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Axezent](https://www.agensi.io/creators/axezent)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Version: 1.0
- Last updated: 2026-11-28
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/json-validator-duplicate-key-detector
- Tags: testing, database, code-review, json-validator, node-js, data-integrity, syntax-checking, developer-tools

## About this skill

### Catch JSON Mistakes Before They Become Data Mistakes.

AXEZENT JSON Validator & Duplicate Key Detector is a professional, deterministic validation engine designed for software developers, AI agents, researchers and data engineering workflows.

Many standard parsers silently accept repeated object keys. AXEZENT checks authorized UTF-8 JSON files against a strict interoperability profile, identifying structural errors that could otherwise go unnoticed.

#### Professional Features

- Detect duplicate keys, including different Unicode-escaped spellings of the same key.
- Detect invalid JSON syntax and UTF-8 encoding errors.
- Identify unsafe JavaScript numeric conversions using the optional safe-number policy.
- Detect numerical overflow, unsafe integers, negative zero and decimal round-trip loss.
- Generate SHA-256 fingerprints of successfully read input files.
- Produce deterministic ACCEPT, REJECT or INCOMPLETE results.
- Provide precise reason codes and error offsets when available.
- Operate locally without modifying input files.
- No additional npm dependencies.
- No additional verification API fees.

#### Tested Mathematical and Engineering Foundation

Local software qualification achieved:

- 1,266 successful validation tests.
- 1,200 independent Python-oracle comparisons.
- 1,266 matching independent SHA-256 calculations.
- 11 successful direct command-line checks.

In a selected 120-case strict-validation benchmark, AXEZENT and Python configured for duplicate-key rejection matched all 120 expected results. Default Node.js, jq and Python parsers matched 80.

These results demonstrate strict-policy validation capabilities, not universal parser superiority.

#### Requirements

Linux, Node.js 22 or newer, and a compatible shell-capable AI agent with authorized access to the input file.

#### Professional Verification Boundaries

Supports individual files up to 8 MiB and a maximum value depth of 128. The strict profile rejects duplicate keys, byte-order marks and unpaired Unicode surrogates. Safe-number validation checks decimal round-trip behavior rather than exact binary arithmetic.

This software is not a JSON Schema validator, data authentication system or security sandbox. Actual AI-agent integrations and native Windows and macOS operation have not yet been independently verified.

#### Free Edition

Experience AXEZENT's deterministic software verification technology without paying a purchase fee or additional verifier API charges. Host AI services may have separate costs.

Developed by AXEZENT.

## Requires

- Runs on Linux only
- Node.js 22+
- Terminal access
- Authorized input file access

Approve the exact input file and validation policy. Use a trusted regular file in a stable directory without symlinked parent directories. No additional verification API keys are required.

## Known limitations

Supports individual regular files up to 8 MiB, a maximum value depth of 128 and bounded safe-number token lengths. The strict profile rejects duplicate keys, byte-order marks and unpaired Unicode surrogates. No Unicode normalization, JSON Schema validation, data authentication or operating-system sandbox is provided. Safe-number checks decimal round-trip behavior, not exact binary arithmetic. Linux with Node.js 22 has been tested. Actual AI-agent integrations and native Windows/macOS are untested. Host AI services may incur separate costs. The current AXEZENT Scan Console does not yet support this report schema.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the JSON Validator & Duplicate Key Detector skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Does it detect duplicate keys hidden using Unicode escapes?

Yes. Keys are compared after decoding JSON string escapes within each object. Unicode normalization is not performed.

### Does the software modify my JSON files?

No. It reads the authorized input file and prints a validation report. It does not repair, modify or overwrite your files.

### Is the software free, and do I need an API key?

Yes. This edition is free and requires no additional verification API keys. Your chosen AI platform may charge separately.

### Does this software validate JSON Schema?

No. It validates JSON syntax, strict interoperability rules and optional JavaScript numerical round-trip behavior, not business-specific JSON schemas.

### What does an INCOMPLETE result mean?

The verifier could not reach a supported conclusion, for example because a file exceeded the size or nesting-depth limit. INCOMPLETE is not an ACCEPT result.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
