Returns a representation that can be converted to JSON

- « Ds\PriorityQueue::isEmpty

- Ds\PriorityQueue::peek »

- PHP Manual
- Ds\PriorityQueue
- Returns a representation that can be converted to JSON

# Ds\PriorityQueue::jsonSerialize

(PECL ds >= 1.0.0)

Ds\PriorityQueue::jsonSerialize — Returns a representation that can be converted to JSON

See JsonSerializable::jsonSerialize()

> Note:

> You should never need to call this directly.