Skip to content

Commit 97286f8

Browse files
authored
Improve example in readme
Call out that this is intentionally a kitchen-sink example, and link to a nice real-world example too (Chromium/Blink config file).
1 parent d720b4f commit 97286f8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ been extended to JSON5.
7373

7474
[IEEE 754]: http://ieeexplore.ieee.org/servlet/opac?punumber=4610933
7575

76-
## Short Example
76+
## Example
77+
Kitchen-sink example:
78+
7779
```js
7880
{
7981
// comments
@@ -89,6 +91,9 @@ No \\n's!",
8991
}
9092
```
9193

94+
A more real-world example is [this config file](https://github.com/chromium/chromium/blob/feb3c9f670515edf9a88f185301cbd7794ee3e52/third_party/blink/renderer/platform/runtime_enabled_features.json5)
95+
from the Chromium/Blink project.
96+
9297
## Specification
9398
For a detailed explanation of the JSON5 format, please read the [official
9499
specification](https://json5.github.io/json5-spec/).

0 commit comments

Comments
 (0)