{"id":"ro-bura/tableflattener","name":"tableflattener","scope":"ro-bura","platform":"roblox","description":"A Luau library for flattening complex tables with circular references and table indexes into an ID-based flat structure.","version":"0.1.2","latest":"0.1.2","versions":["0.1.2"],"license":"MIT","licenseRating":"safe","licenseCaveats":["The package archive does not include its license text; the license is declared in its manifest metadata."],"licenseVerified":false,"dependencies":{},"integrity":"725c7b8d4bf41fac4e62107ff30847fadaa1e91dc6a20307a31ac9932d35d1b5","likes":0,"downloads":0,"install":"forest install ro-bura/tableflattener","url":"https://forest.dev/p/roblox/ro-bura/tableflattener","files":"https://api.forest.dev/ai/package/roblox/ro-bura/tableflattener/files","readme":"# TableFlattener\nGenerated by [Rojo](https://github.com/rojo-rbx/rojo) 7.6.1.\n\nA Luau library for flattening complex tables with **circular references** and **table indexes** into an ID-based flat structure.\n\n### API\n- `TableFlattener.Encode(anyTable)` -> `flattedTable`\n- `TableFlattener.Decode(flattedTable)` -> `unflattedTable`\n\n### Example\n```luau\nlocal a = {}\nlocal b = {}\n\na.d = b\na.c = b\na[b] = 30\n\nlocal flatted = TableFlattener.Encode(a)\nlocal unflatted = TableFlattener.Decode(flatted)\n\nprint(unflatted[unflatted.d]) -- 30\n```\n","readmeTruncated":false}