1
This commit is contained in:
@@ -4,9 +4,17 @@
|
||||
创建日期:2024-08-06 23:49
|
||||
文件用途:基础工具类
|
||||
*/
|
||||
|
||||
function printT(T) {
|
||||
Sq_OutPutTable(Json.Encode(T));
|
||||
}
|
||||
//Json类
|
||||
class Json {
|
||||
function Encode(Table) {
|
||||
|
||||
local JsonObj = JSONEncoder();
|
||||
return JsonObj.encode(Table);
|
||||
|
||||
local Size = Table.len();
|
||||
local Pos = 0;
|
||||
local Str = "{";
|
||||
|
||||
Reference in New Issue
Block a user