textutils.unserialize

From ComputerCraft Wiki
Revision as of 18:41, 28 November 2012 by AfterLifeLochie (Talk | contribs) (Moved to CAT:APIFunctions)

Jump to: navigation, search


Grid Redstone.png  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