Lua 関数の ExportJson は、Lua のテーブルをJSON形式でエクスポートします。
この関数は何も返しません。
ビルドの詳細テーブルをエクスポートするには、以下のようなコードでプラグインを作成します。
local function main()
local build = BuildDetails() --BuildDetails() creates a table with information about the software build.
local exportPath = GetPath(Enums.PathType.Library) .. "/BuildDetails.json" --The path and filename is stored in a variable.
ExportJson(exportPath, build) --The actual export function.
Printf("The build details is exported to: " .. exportPath) --Print some feedback.
end
return main