lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Feb 25, 2011 at 13:07, Sebastien Lai <237482@googlemail.com> wrote:
> Python provies the "pickle" module. Pickle allows to store dictionaries,
> lists and tables in a file with binary representation (which kind of
> suggests that pickle doesn't care about encoding). Is there a similar thing
> for Lua, that allows to store tables and strings without having to care
> about quoting strings (and such)?

Pick one:

http://lua-users.org/wiki/TableSerialization

<shameless-plug>
I recommend luabins:

https://github.com/agladysh/luabins
</shameless-plug>

Alexander.