util/json.lua
changeset 4147 7f119ebcf55f
parent 4047 1a89fd3cc954
child 4284 20979f124ad9
--- a/util/json.lua	Sun Feb 13 22:57:17 2011 +0000
+++ b/util/json.lua	Sat Feb 19 06:47:32 2011 +0500
@@ -268,7 +268,9 @@
 		return tonumber(s);
 	end
 	local function readmember(t)
+		skipstuff();
 		local k = readstring();
+		skipstuff();
 		checkandskip(":");
 		t[k] = readvalue();
 	end