saving a table in storage
idk, seems simple but im having a hard time figuring how exactly to pull this off.
idk, seems simple but im having a hard time figuring how exactly to pull this off.
Serialization
and deserialization
into a storage
object.
Generated by AI
When using storage.set
and storage.set
, data is automatically serialized and deserialized.
table = [
[ "John", "Doe", 34 ],
[ "Bobby", "Joe", 16 ],
]
storage.set("table", table)
table = storage.get("table") // still an array of arrays