Skip to content

Commit 2dfc980

Browse files
committed
docs: update JSON5 example
1 parent 23b5159 commit 2dfc980

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ npm install json-server
1313

1414
## Usage
1515

16-
Create a `db.json` (or `db.json5`) file
16+
Create a `db.json` or `db.json5` file
1717

1818
```json
1919
{
@@ -33,7 +33,7 @@ Create a `db.json` (or `db.json5`) file
3333

3434
<details>
3535

36-
<summary>`db.json5`</summary>
36+
<summary>View db.json5 example</summary>
3737

3838
```json5
3939
{
@@ -51,6 +51,8 @@ Create a `db.json` (or `db.json5`) file
5151
}
5252
```
5353

54+
You can read more about JSON5 format [here](https://github.com/json5/json5).
55+
5456
</details>
5557

5658
Pass it to JSON Server CLI

0 commit comments

Comments
 (0)