Difference between revisions of "Serial"

m (Adding keyword.)
m (Added: Other Languages)
 
Line 15: Line 15:
 
{{#set:Keyword=Serializing}}
 
{{#set:Keyword=Serializing}}
 
[[Category:Libraries]]
 
[[Category:Libraries]]
 +
== Other Languages ==
 +
{{i18n|Serial}}

Latest revision as of 15:53, 15 December 2019

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, tables that are seen in other tables, and objects with the proper support.

To make an object supported, make a function __serialize in the metatable that returns a string that recreates the object.

Download

Serial on Github

Other Languages