msgpack-php icon indicating copy to clipboard operation
msgpack-php copied to clipboard

msgpack.php_only=0 implement JsonSerializable?

Open the-djmaze opened this issue 8 years ago • 0 comments

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

the-djmaze avatar Nov 19 '17 11:11 the-djmaze