search/
Start typing to search packages!
package_2
tableflattener
By @ro-bura
Roblox
MirroredTableFlattener
Generated by Rojo 7.6.1.
A Luau library for flattening complex tables with circular references and table indexes into an ID-based flat structure.
API
TableFlattener.Encode(anyTable)->flattedTableTableFlattener.Decode(flattedTable)->unflattedTable
Example
local a = {}
local b = {}
a.d = b
a.c = b
a[b] = 30
local flatted = TableFlattener.Encode(a)
local unflatted = TableFlattener.Decode(flatted)
print(unflatted[unflatted.d]) -- 30
Package Details
Install command (Click to copy)
Version
0.1.2
License
MIT
Safe for commercial use
The package archive does not include its license text; the license is declared in its manifest metadata.
Automated license review — not legal advice.
