lua-users home
lua-l archive

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

There are many examples of serialization functions (many already on
the wiki). I've written one [1] myself for personal use that
specifically serializes tables. It was meant to serialize an
environment. It successfully serializes upvalues and shared upvalues.
The library will use debug.shareupvalue (see [2] for discussion, [3]
for most up to date patch) if present.


-Patrick Donnelly

"One of the lessons of history is that nothing is often a good thing
to do and always a clever thing to say."

-Will Durant