Method Decoder()->decode_object()
classDecoder
- Method
decode_object
array|voiddecode_object(objecto,string|arraydata)- Description
Called by decode_value() to restore the state of
o, encoded by the corresponding Encoder()->encode_object() call.- Parameter
o The object being decoded. It may not yet be fully initialized; in particular its
lfun::create()(if any) has not been called yet.- Parameter
data The value returned by the corresponding Encoder()->encode_object() call.
- Returns
If
ohas anlfun::create()and this function returns an array, that array's elements are used as the arguments too'slfun::create().- See also