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 } ']';