Table Extensions (table)
table
Extensions to Lua's table library: deep copy, pretty print, and string loading.
3 functions
Lua 5.3
table.table.deep_copy
table.deep_copy(t)Deep copy a table with cycle detection. Preserves metatables.
table.table.deep_print
table.deep_print(t [, indent])Convert table to human-readable string with indentation. Cycle-safe.
table.table.load_string
table.load_string(s)Parse Lua table literal string. Evaluates return s via load().