_TestJsonStringClass
in package
implements
JsonSerializable
Interfaces, Classes and Traits
Table of Contents
- __toString() : mixed
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON.
Methods
__toString()
public
__toString() : mixed
Return values
mixed —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.