- What counts as invalid JSON?
- Anything that deviates from RFC-8259: comments, single quotes, trailing commas, unquoted keys, duplicate keys in strict mode, NaN/Infinity, or unescaped control characters. The validator points to the exact line and column.
- Does this auto-fix errors or just report them?
- It does both. Common issues (comments, trailing commas, unquoted keys, single quotes) are auto-corrected and you can copy the fixed output; the error list shows what was repaired.
- Can I validate against a JSON Schema?
- This tool only validates syntax. For structural validation use the dedicated JSON Schema validator — or wire both into your build pipeline in sequence.
- Why does my JSON validate here but fail in another parser?
- Strict parsers reject duplicate keys, BOM bytes, and certain Unicode sequences. Run through this validator first to normalize, then test in the target environment.