msgpack-php
msgpack-php copied to clipboard
msgpack.php_only=0 implement JsonSerializable?
I know about this issue: https://github.com/msgpack/msgpack-php/issues/18
But would it be wise to use PHP's jsonSerialize()? And have an option in unpack() to convert associative array's to stdClass like json_decode($data, bool $assoc = FALSE)?
As __sleep() has this bug: https://github.com/msgpack/msgpack-php/issues/121