mirror of
https://github.com/izzy2lost/mame.git
synced 2026-03-10 12:32:38 -07:00
13 lines
198 B
Lua
13 lines
198 B
Lua
|
|
local jsoncheat = {}
|
||
|
|
|
||
|
|
function jsoncheat.filename(name)
|
||
|
|
return name .. ".json"
|
||
|
|
end
|
||
|
|
|
||
|
|
function jsoncheat.conv_cheat(data)
|
||
|
|
local json = require("json")
|
||
|
|
return json.parse(data)
|
||
|
|
end
|
||
|
|
|
||
|
|
return jsoncheat
|