util.pluginloader: Return full file path from internal file loader on success, not...
[prosody.git] / util / json.lua
index 40939bb4626f80366c8d037f1f78cff5fa1992d7..05453703369e35f642b11acd61c33f93c5e2a97e 100644 (file)
@@ -268,7 +268,9 @@ function json.decode(json)
                return tonumber(s);
        end
        local function readmember(t)
+               skipstuff();
                local k = readstring();
+               skipstuff();
                checkandskip(":");
                t[k] = readvalue();
        end