• PHP Video Tutorials

PHP - Ds Set::jsonSerialize() Function



Ds\Set::jsonSerialize() function can return a representation that can be converted to JSON.

We should never call this function directly.

Syntax

Following is the syntax of the PHP Ds\Set::jsonSerialize() function −

mixed JsonSerializable::jsonSerialize()

Parameters

This function does not accept any parameter.

Return value

Example 1


Output


php_function_reference.htm
Advertisements