111
This commit is contained in:
@@ -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 键盘按键类
|
||||
|
||||
Reference in New Issue
Block a user