Skip to main content

Deep serialize a table (table.deep_dump)

Declaration

text = table.deep_dump(tab)

Parameters

  • tab
    Table. The table to serialize into text.

Returns

  • text
    String. A textual representation of the table's tree structure. Format compatibility is NOT guaranteed.

Notes

Serialize a table's tree structure into text.
The output format is NOT guaranteed to be stable across versions.
Non-table reference types (userdata, functions) cannot be deserialized by table.load_string; human readability only.

Example

local s = table.deep_dump(_G)
sys.alert(s)

Note: Uses sys.alert