Relaxed input syntax
Accept standard JSON, JSON5, and common JS object literal syntax including single quotes, comments, trailing commas, and unquoted keys.
Accept standard JSON, JSON5, and common JS object literal syntax including single quotes, comments, trailing commas, and unquoted keys.
Normalize values like Infinity, NaN, and undefined, then emit clean standard JSON that can be copied into APIs and other tools.
The active parser version is controlled in a constants file, so you can switch back to the original strict engine at any time.