Difference between revisions of "Textutils.unserialize"
From ComputerCraft Wiki
m (Moved to CAT:APIFunctions) |
|||
Line 6: | Line 6: | ||
|api=textutils | |api=textutils | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
− | |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. | + | |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. See [[textutils.serialize]] for more information |
}} | }} | ||
[[Category:API_Functions]] | [[Category:API_Functions]] |
Revision as of 08:42, 2 January 2013
Function textutils.unserialize | |
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. See textutils.serialize for more information | |
Syntax | textutils.unserialize(serialized) |
Returns | a copy of the original object that was serialized |
Part of | ComputerCraft |
API | textutils |