W3cubDocs

/PHP

Ds\Set::jsonSerialize

(PECL ds >= 1.0.0)

Ds\Set::jsonSerializeReturns a representation that can be converted to JSON

See JsonSerializable::jsonSerialize()

Note:

You should never need to call this directly.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/ds-set.jsonserialize.php