Ds\Set::jsonSerialize

(PECL ds >= 1.0.0)

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

See JsonSerializable::jsonSerialize()

Nota:

You should never need to call this directly.