aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/JSON.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/JSON.md')
-rw-r--r--docs/JSON.md29
1 files changed, 29 insertions, 0 deletions
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
+ <empty>
+ members
+
+trailing_comma_opt
+ <empty>
+ , ws
+
+members
+ (member ws trailing_comma_opt)+
+
+member
+ string ws : ws value
+
+array
+ [ ws elements_opt trailing_comma_opt ]
+
+elements_opt
+ <empty>
+ elements
+
+elements
+ (value ws trailing_comma_opt)+
+```