Last active
September 2, 2020 11:59
-
-
Save indreklasn/4c72668bdcf7aea1ee1c75df7fa84389 to your computer and use it in GitHub Desktop.
Example json5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment