From a245b635c9099448a00eea15cec5bc61dcf1d026 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 15 Jul 2024 13:58:32 +0900 Subject: initial implementation --- docs/JSON.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'docs/JSON.md') diff --git a/docs/JSON.md b/docs/JSON.md index f5fab89..184fd05 100644 --- a/docs/JSON.md +++ b/docs/JSON.md @@ -103,3 +103,32 @@ ws '000D' ws '0009' ws ``` + +``` +object + { ws members_opt trailing_comma_opt } + +members_opt + + members + +trailing_comma_opt + + , ws + +members + (member ws trailing_comma_opt)+ + +member + string ws : ws value + +array + [ ws elements_opt trailing_comma_opt ] + +elements_opt + + elements + +elements + (value ws trailing_comma_opt)+ +``` -- cgit v1.2.3-70-g09d2