A base class that provides a custom JSON serialization method.
The Serializable class offers a simple mechanism for converting class instances to JSON representation using a shallow copy of the instance's properties.
Optional
Returns a string representation of an object.
Static
Parses the short syntax [SOURCE:]TARGET[:MODE]. Colons nested in a ${VAR:-default} interpolation are not separators.
[SOURCE:]TARGET[:MODE]
${VAR:-default}
A base class that provides a custom JSON serialization method.
Remarks
The Serializable class offers a simple mechanism for converting class instances to JSON representation using a shallow copy of the instance's properties.