Description
See https://json5.org
Reproduction Steps
Try to parse the kitchen sink example from json5.org:
{
// comments
unquoted: 'and you can quote me on that',
singleQuotes: 'I can use "double quotes" here',
lineBreaks: "Look, Mom! \
No \\n's!",
hexadecimal: 0xdecaf,
leadingDecimalPoint: .8675309, andTrailing: 8675309.,
positiveSign: +1,
trailingComma: 'in objects', andIn: ['arrays',],
"backwardsCompatible": "with JSON",
}
Expected behavior
Parses fine.
Actual behavior
Fails
Regression?
No
Known Workarounds
No response
Configuration
No response
Other information
No response


Description
See https://json5.org
Reproduction Steps
Try to parse the kitchen sink example from json5.org:
{ // comments unquoted: 'and you can quote me on that', singleQuotes: 'I can use "double quotes" here', lineBreaks: "Look, Mom! \ No \\n's!", hexadecimal: 0xdecaf, leadingDecimalPoint: .8675309, andTrailing: 8675309., positiveSign: +1, trailingComma: 'in objects', andIn: ['arrays',], "backwardsCompatible": "with JSON", }Expected behavior
Parses fine.
Actual behavior
Fails
Regression?
No
Known Workarounds
No response
Configuration
No response
Other information
No response