From 2dfc98009e05626716d1369ac7b82670599b039a Mon Sep 17 00:00:00 2001 From: typicode Date: Sat, 13 Jan 2024 02:54:43 +0100 Subject: [PATCH] docs: update JSON5 example --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 706054458..67af577ad 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ npm install json-server ## Usage -Create a `db.json` (or `db.json5`) file +Create a `db.json` or `db.json5` file ```json { @@ -33,7 +33,7 @@ Create a `db.json` (or `db.json5`) file
-`db.json5` +View db.json5 example ```json5 { @@ -51,6 +51,8 @@ Create a `db.json` (or `db.json5`) file } ``` +You can read more about JSON5 format [here](https://github.com/json5/json5). +
Pass it to JSON Server CLI