diff options
Diffstat (limited to 'server/src/json')
-rw-r--r-- | server/src/json/decode.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/json/decode.lua b/server/src/json/decode.lua index aebd49ca..fcc40de5 100644 --- a/server/src/json/decode.lua +++ b/server/src/json/decode.lua @@ -110,8 +110,8 @@ local Token = P String = '"' * Cs(V'Char'^0) * '"', Char = V'Esc' + (1 - P'"' - P'\t' - V'Nl'), Esc = P'\\' * C(S'tnr"\\') / EscMap, - Hash = V'Spnl' * '{' * V'Spnl' * HashTable(V'Object'^-1 * (P',' * V'Object')^0) * V'Spnl' * P'}' * V'Spnl', - Array = V'Spnl' * '[' * V'Spnl' * Ct(V'Value'^-1 * (P',' * V'Spnl' * V'Value')^0) * V'Spnl' * P']' * V'Spnl', + Hash = V'Spnl' * '{' * V'Spnl' * HashTable((V'Object' + P',')^0) * V'Spnl' * P'}' * V'Spnl', + Array = V'Spnl' * '[' * V'Spnl' * Ct((V'Value' + P',')^0) * V'Spnl' * P']' * V'Spnl', Object = V'Spnl' * V'Key' * V'Spnl' * V'Value' * V'Spnl', Key = V'String' * V'Spnl' * ':', Value = V'Hash' + V'Array' + V'Bool' + V'Null' + V'String' + V'Float' + V'Int', |