Tasmota/lib/libesp32/Berry/tools/grammar/json.ebnf

6 lines
193 B
EBNF

json = value;
value = object | array |
string | number | 'true' | 'false' | 'null';
object = '{' [ string ':' value ] { ',' string ':' value } '}';
array = '[' [json] { ',' json } ']';