1
0
mirror of https://github.com/velour/catbase.git synced 2025-04-03 19:51:42 +00:00
catbase/util/jsontolua.lua

5 lines
149 B
Lua
Raw Normal View History

file = 'example_config.json'
json = require 'cjson'
util = require 'cjson.util'
obj = json.decode(util.file_load(file))
require 'pl.pretty'.dump(obj)