JSON with Comments is a data notation created in 2001 by Muhammad Muzzammil.
git clone https://github.com/muhammadmuzzammil1998/jsonc
#803on PLDB | 22Years Old | 0Repos |
JSON with comments for Go!
/*
* JSLint's implementation of JSHint
* The JSLint options and makeup of this file were created based on the documentation of JSLint by
* Douglas Crockford: http://www.jslint.com/lint.html
*/
{
"foobar" : true, // Not checked in JSHint
}
[
{
"command": "haxe_run_build"
}
]
Feature | Supported | Token | Example |
---|---|---|---|
Comments | ✓ | // A comment |
|
MultiLine Comments | ✓ | /* */ | /* A comment */ |
Line Comments | ✓ | // | // A comment |
Lists | ✓ | [1, 2, 3] |
|
Maps | ✓ | {"name": "Mary"} |
|
Strings | ✓ | "hello world" |
|
Integers | ✓ | 80766866 |
|
Floats | ✓ | 2.3 |
|
Booleans | ✓ | false |
|
Semantic Indentation | X | ||
Case Insensitive Identifiers | X | ||
Multiline Strings | X | ||
File Imports | X | ||
Ternary operators | X | ||
Conditionals | X | ||
Macros | X | ||
Disk Output | X |