diff --git a/grammars/json_arr.gbnf b/grammars/json_arr.gbnf index 653119d88..ef53e77a0 100644 --- a/grammars/json_arr.gbnf +++ b/grammars/json_arr.gbnf @@ -5,10 +5,10 @@ root ::= arr value ::= object | array | string | number | ("true" | "false" | "null") ws arr ::= - "{\n\t[\n" ws ( + "[\n" ws ( value (",\n" ws value)* - )? "\t]\n}" + )? "]" object ::= "{" ws (