revert JSON hack since the unusual utf8 representation is fixed

This commit is contained in:
chrox
2013-10-18 00:06:34 +08:00
parent 1ccba6ce39
commit 957cfdbb1b

View File

@@ -326,8 +326,6 @@ local function grok_string(self, text, start, etc)
elseif text:match('^\\t', i) then
VALUE = VALUE .. "\t"
i = i + 2
elseif text:match('^\\\\', i) then
i = i + 1
else
local hex = text:match('^\\u([0123456789aAbBcCdDeEfF][0123456789aAbBcCdDeEfF][0123456789aAbBcCdDeEfF][0123456789aAbBcCdDeEfF])', i)
if hex then