Skip to content

Commit 102881a

Browse files
committed
docs(readme): Add more reasoning to “Motivation”
1 parent 8f0dfdd commit 102881a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ Allow comments in JSON data passed to `JSON.parse(…)`.
88
Comments help annotate configuration or localisation files,
99
which are stored in the JSON file format.
1010

11+
The fact that they were removed from the JSON specification
12+
simply because Douglas Crockford didn't like them is a terrible
13+
reason, and an [overwhelming majority of web developers agree
14+
that removing them was dumb](https://redd.it/4v6chu).
15+
16+
Many JSON parsers already support comments, with the JSON parser
17+
built into ECMAScript being part of a minority of JSON parsers
18+
that don't support comments.
19+
1120
## Example
1221

1322
```json

0 commit comments

Comments
 (0)