Serial
Serial
Converts tables into Lua script that, when run, recreates the table.
Features
As keys: Strings, numbers, and booleans
As values: Strings, numbers, booleans, functions without upvalues, tables, recursive tables, and certain objects.
To make an object supported, make a function __serialize in the metatable that returns a string that recreates the object.