Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 367 Bytes

_LoadJSONFromFile_.md

File metadata and controls

25 lines (13 loc) · 367 Bytes

LoadJSONFromFile

将指定路径文件中已编码的 JSON 对象解码为 Lua 对象

value = LoadJSONFromFile(path)

参数:

  • path [string]:存储已编码 JSON 对象的文件路径

返回值:

  • value [nil / boolean / number / string / table]:解码后的 Lua 对象

示例