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

Lines changed: 6 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy