Method lfun::_deserialize()
- Method _deserialize
void
_deserialize(object
o
,function
(function
(mixed
:void
),string
,type
:mixed
)deserializer
)- Description
Dispatch function for
Serialization.deserialize()
.- Parameter
o
Object to serialize. Always a context of the current object.
- Parameter
deserializer
Function to be called once for every variable to serialize.
The
deserializer
function expects to be called with three arguments:setter - Function that sets the symbol value.
symbol - The symbol name.
symbol_type - The type of the symbol.
- Note
A default implementation of lfun::_serialize() and lfun::_deserialize() is available in
Serializer.Serializable
.- See also
lfun::_serialize(),
Serializer.deserialize()
,Serializer.Serializable()->_deserialize()