Difference between revisions of "Textutils.unserialize"
From ComputerCraft Wiki
(Created page with "{{lowercase}} {{Function |name=textutils.unserialize |args= serialized |returns=a copy of the original object that was serialized |api=textutils |addon=Compu...") |
|||
| Line 6: | Line 6: | ||
|api=textutils | |api=textutils | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
| − | |desc=Converts the serialized string back into an object. The string | + | |desc=Converts the serialized string back into an object. The string should have been created using [[textutils.serialize()|serialize]]. Note, the representation used by textutils actually creates Lua syntax, so that [loadstring] will also work to deserialize. |
}} | }} | ||
Revision as of 23:12, 15 October 2012
| Converts the serialized string back into an object. The string should have been created using serialize. Note, the representation used by textutils actually creates Lua syntax, so that [loadstring] will also work to deserialize. | |
| Syntax | textutils.unserialize(serialized) |
| Returns | a copy of the original object that was serialized |
| Part of | ComputerCraft |
| API | textutils |