luaserialization, v1.0.0
Posted on

The library that implements various auxiliary functions for serialization.
Major version. Implemented the data.to_data() function and serialization to string.
Disclaimer: this library was written directly on an Android smartphone with the QLua IDE.
Features
data.to_data()function — this function recursively calls the__data()metamethod if it exists;- serialization to string:
string.to_string()function — this function calls thedata.to_data()function and then applies library inspect.lua;Stringifiablemixin — this mixin adds the__tostring()metamethod that calls thestring.to_string()function.
Installation
$ luarocks install luaserialization
Repository
Link: https://github.com/thewizardplusplus/luaserialization/tree/v1.0.0.
Content: code.
License: MIT.