W3cubDocs

/PHP

Ds\Map::jsonSerialize

(PECL ds >= 1.0.0)

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

See JsonSerializable::jsonSerialize()

Note:

You should never need to call this directly.

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