data

This small useful module can be used to store and retrieve values across different app sessions.
A lot of people found it useful in Code Exchange 1, so am reposting it here

You can save TABLES, NUMBERS, STRINGS or BOOLEANS.

Comments, 615 Votes - submitted on 31/03/2014 view repo

Two functions to easily load and save a table of Lua data to your apps storage.

Comments, 1 Vote - submitted on 17/01/2014 view repo

Easier to write than normal Lua syntax, just as fast as JSON, and very human-readable, Cyan is the most flexible table serialization notation ever. It comes in a single code file and uses two function calls to decode/encode Cyan notation or tables.

Comments, 457 Votes - submitted on 17/01/2014 view repo