Difference between revisions of "Textutils.unserialize"
From ComputerCraft Wiki
m |
m (Moved to CAT:APIFunctions) |
||
Line 8: | Line 8: | ||
|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. | ||
}} | }} | ||
+ | |||
+ | [[Category:API_Functions]] |
Revision as of 18:41, 28 November 2012
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. | |
Syntax | textutils.unserialize(serialized) |
Returns | a copy of the original object that was serialized |
Part of | ComputerCraft |
API | textutils |