Discord
Login
Community
DARK THEME

saving a table in storage

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

https://microstudio.io/i/Loginus/serialize2/

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

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community