loom
1/*
2Грамматика JSON. Стандарт [RFC 8259](https://www.rfc-editor.org/info/rfc8259).
3*/
4
5main JSON_text;
6
7JSON_text = value;
8
9value = "true" | "false" | "null" | NUMBER | "-" NUMBER | ANNOTATION | object | array;
10
11object = "{" "}" | "{" member_list "}";
12
13member_list = member | member_list "," member;
14
15member = ANNOTATION ":" value;
16
17array = "[" "]" | "[" value_list "]";
18
19value_list = value | value_list "," value;
20