feat: support json5 (#539) · boyter/scc@df4cd7b

Original file line numberDiff line numberDiff line change

@@ -0,0 +1,13 @@

1+

// example from https://json5.org/

2+

{

3+

// comments

4+

unquoted: 'and you can quote me on that',

5+

singleQuotes: 'I can use "double quotes" here',

6+

lineBreaks: "Look, Mom! \

7+

No \\n's!",

8+

hexadecimal: 0xdecaf,

9+

leadingDecimalPoint: .8675309, andTrailing: 8675309.,

10+

positiveSign: +1,

11+

trailingComma: 'in objects', andIn: ['arrays',],

12+

"backwardsCompatible": "with JSON",

13+

}