Skip to content

Commit 8f0dfdd

Browse files
committed
Initial commit
0 parents  commit 8f0dfdd

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
JSON Comments
2+
=============
3+
4+
Allow comments in JSON data passed to `JSON.parse(…)`.
5+
6+
## Motivation
7+
8+
Comments help annotate configuration or localisation files,
9+
which are stored in the JSON file format.
10+
11+
## Example
12+
13+
```json
14+
/*
15+
* Multi-line comment
16+
*/
17+
{
18+
// Single-line comment
19+
"foo": "bar"
20+
}
21+
```

0 commit comments

Comments
 (0)