Interface compatible with the built-in JsonSerializable interface

JsonSerializable was introduced in PHP 5.4.0.

see
package Default

 Methods

Returns data which can be serialized by json_encode().

jsonSerialize() : mixed
see

Returns

mixed