Ds\Pair::jsonSerialize

(PECL ds >= 1.0.0)

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

See JsonSerializable::jsonSerialize()

Notă:

You should never need to call this directly.