Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local data_raw = require("data_raw");
- local json = require ("dkjson");
- local str = json.encode (data_raw, { indent = true });
- local current_outFile = io.output();
- io.output("data_raw.js");
- io.output():write(str);
- io.output():flush();
- io.output():close();
- io.output(current_outFile);
- os.exit(0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement