ISerializable
Interface that defines the structure for serializable objects. Classes implementing this interface should provide functionality to serialize their properties into an array and a JSON string.
Extended by
Methods
toArray()
toArray():
any
[]
Serializes the object’s properties into an array.
Returns
any
[]
An array representation of the object's properties.
Defined in
toJson()
toJson():
string
Serializes the object’s properties into a JSON string.
Returns
string
A JSON string representation of the object.