« Ds\Set::join Ds\Set::last » PHP Manual Set Returns a representation that can be converted to JSON Ds\Set::jsonSerialize (PECL ds >= 1.0.0) Ds\Set::jsonSerialize — Returns a representation that can be converted to JSON See JsonSerializable::jsonSerialize() Note: You should never need to call this directly.