This commit is contained in:
2024-09-29 16:52:10 +08:00
parent b2133d8463
commit 16be225768
19 changed files with 1860 additions and 180 deletions

View File

@@ -41,10 +41,13 @@ class Json {
}
function Decode(Str) {
Str = L_sq_DecondeJson(Str);
local Str = "local _M = " + Str + ";\n return _M;\n";
local Func = compilestring(Str);
return Func();
// Str = L_sq_DecondeJson(Str);
// local Str = "local _M = " + Str + ";\n return _M;\n";
// local Func = compilestring(Str);
// return Func();
local JsonObj = JSONParser();
return JsonObj.parse(Str);
}
}
//Key 键盘按键类