Format JSON5 documents while keeping comments-friendly syntax.
How it works
The JSON5 formatter parses JSON5 syntax, then re-serializes it with clean indentation. It accepts comments, unquoted keys, single quotes, trailing commas, hex numbers, Infinity and NaN.