JSON5
JSON5 is an actively used meta language created in 2012.
7Years Old | 3,144Users | 0Jobs |
- JSON5 ranks in the top 50% of languages
- the JSON5 website
- JSON5 on github
- JSON5 first appeared in 2012
- file extensions for JSON5 include json5
- I have 42 facts about JSON5. what would you like to know? email me and let me know how I can help.
Example code from the web:
{ // 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", }
Example code from Linguist:
/* * The following is a contrived example, but it illustrates most of the features: */ { foo: 'bar', while: true, this: 'is a \ multi-line string', // this is an inline comment here: 'is another', // inline comment /* this is a block comment that continues on another line */ hex: 0xDEADbeef, half: .5, delta: +10, to: Infinity, // and beyond! finally: 'a trailing comma', oh: [ "we shouldn't forget", 'arrays can have', 'trailing commas too', ], }
Trending Repos
repo | stars | description |
---|
Last updated December 4th, 2019