diff options
Diffstat (limited to '')
-rwxr-xr-x | lua/json2lua.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/json2lua.lua b/lua/json2lua.lua index 050b89d..014416d 100755 --- a/lua/json2lua.lua +++ b/lua/json2lua.lua | |||
@@ -7,8 +7,8 @@ | |||
7 | -- ./json2lua.lua test.json | 7 | -- ./json2lua.lua test.json |
8 | 8 | ||
9 | local json = require "cjson" | 9 | local json = require "cjson" |
10 | local misc = require "cjson-misc" | 10 | local util = require "cjson.util" |
11 | 11 | ||
12 | local json_text = misc.file_load(arg[1]) | 12 | local json_text = util.file_load(arg[1]) |
13 | local t = json.decode(json_text) | 13 | local t = json.decode(json_text) |
14 | print(misc.serialise_value(t)) | 14 | print(util.serialise_value(t)) |