Method Encoder()->encode_object()
classEncoder
- Method
encode_object
string|arrayencode_object(objecto)- Description
Called by encode_value() to encode the state of
owhen nameof() has returned UNDEFINED for it.- Parameter
o Object to encode.
- Returns
Returns an encoding of
o's state. The returned value will be passed asdatato the corresponding Decoder()->decode_object() call by decode_value().- See also