JsonSerializable objects should be accepted by JsonDriver
Closed this issue · 0 comments
ThHareau commented
json_encode is accepted against implementations of the JsonSerializable interface. The JsonDriver should accept these objects as well.
https://www.php.net/manual/jsonserializable.jsonserialize.php