AR_Engine_SDK
载入中...
搜索中...
未找到
函数 | 变量
xjson.lua 文件参考

函数

function xjson decode (jsonStr)
 
function xjson decode_file (filePath)
 
function xjson encode (luaTable)
 

变量

 xjson = {}
 

函数说明

◆ decode()

function xjson decode ( jsonStr  )

反序列化

参数
jsonStrstring json字符串
返回
table

◆ decode_file()

function xjson decode_file ( filePath  )

反序列化一个文件中的内容

参数
filePathstring 绝对路径

◆ encode()

function xjson encode ( luaTable  )

序列化

参数
luaTabletable luaTable
返回
string

变量说明

◆ xjson

xjson = {}