Difference between revisions of "Serial"
Whitewater (talk | contribs) (Created page with "==Serial== Converts tables into Lua script that, when run, recreates the table. ==Download== [http://github.com/Whitewater/Serial Serial] on Github {{#set:LOVE Version=all}} ...") |
m (Added: Other Languages) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
==Serial== | ==Serial== | ||
Converts tables into Lua script that, when run, recreates the table. | 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== | ==Download== | ||
[http://github.com/Whitewater/Serial Serial] on [[Github]] | [http://github.com/Whitewater/Serial Serial] on [[Github]] | ||
− | {{#set:LOVE Version= | + | {{#set:LOVE Version=Any}} |
− | {{#set:Description=A [[serialization]] library optimized for large tables.}} | + | {{#set:Description=A [[serialization]] library optimized for very large tables.}} |
{{#set:License=Boost v1.0}} | {{#set:License=Boost v1.0}} | ||
{{#set:Author=User:whitewater}} | {{#set:Author=User:whitewater}} | ||
+ | {{#set:Keyword=Serializing}} | ||
[[Category:Libraries]] | [[Category:Libraries]] | ||
+ | == Other Languages == | ||
+ | {{i18n|Serial}} |
Latest revision as of 15:53, 15 December 2019
Contents
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
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info