I'm trying to write a table with LUAJ and I want to export it to a file. Is it possible?
final LuaTable innerTable = new LuaTable();
innerTable.set("key", "value");
final LuaTable parentTable = new LuaTable();
parentTable.set("parentKey", innerTable);
The output file should contain something like this:
table = {
["parentKey"] = {
key = "value"
}
}
I don't find any option to export the content of my parentTable to a file.
Thanks.