JsonSerializableObject
in package
implements
JsonSerializable
Interfaces, Classes and Traits
Table of Contents
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON.
Methods
jsonSerialize()
Specify data which should be serialized to JSON.
public
jsonSerialize() : mixed
Return values
mixed —data which can be serialized by json_encode, which is a value of any type other than a resource.