LINT_DUPLICATE_KEY
Two properties in the same object use the same key. Most parsers keep the later value, which can hide bugs in copied API payloads and config files.
Supprimez les espaces du JSON pour obtenir la sortie la plus compacte โ economie en octets immediate.
Two properties in the same object use the same key. Most parsers keep the later value, which can hide bugs in copied API payloads and config files.
Trailing commas are common in JavaScript and JSON5, but strict JSON rejects them. Remove the comma before the closing brace or bracket.
JSON does not support // comments. If you need comments, switch to a JSONC or JSON5-compatible parser instead of strict JSON.
Block comments are not valid JSON. Remove them or convert the file to a format that explicitly supports comments.
Strict JSON requires double-quoted strings and keys. Single-quoted strings usually mean the input is JSON5 or a JavaScript object literal.
Object keys must be quoted in JSON. Unquoted keys are allowed in JavaScript object literals and JSON5, but not in RFC 8259 JSON.
A byte-order mark at the start of the file can confuse downstream tools. Removing it is a safe normalization step.
Unescaped control characters inside strings can break parsing and transport. Escape them explicitly or remove them.
Empty input does not contain JSON to check. Paste a payload, config, or response body before running lint.
This advisory groups comment, quote, and trailing-comma patterns that suggest the input is JSON5-like rather than strict JSON.
It depends on how much whitespace the input has. Pretty-printed JSON with 2-space indentation typically shrinks 30-60%. Already compact JSON may shrink only 0-5%.
Yes. Minification only removes insignificant whitespace (spaces, tabs, newlines between tokens). The data and structure are identical.
For network transfer, yes โ gzip or brotli compression on top of minification typically achieves 80-95% total reduction. Minification helps even with compression because it removes redundant patterns.
Yes, up to 50 MB. Files under 2 MB process instantly. Files between 2-10 MB show a working indicator. Files over 10 MB use a background worker with a cancel button.
Yes. Minification preserves the order of keys exactly as they appear in the original JSON.
No โ the Minifier preserves all data as-is. To detect duplicate keys, switch to the Lint tab.