Documentation

_TestJsonStringClass
in package
implements JsonSerializable

Interfaces, Classes and Traits

JsonSerializable

Table of Contents

__toString()  : mixed
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.

Search results