kombu icon indicating copy to clipboard operation
kombu copied to clipboard

make msgpack encoder compliant with JSON one

Open sevdog opened this issue 4 years ago • 1 comments

As of now kombo default JSON encoder supports a type-conversion mechanism

https://github.com/celery/kombu/blob/241b5dcff8a7c8ad411e1b325d59e47acfa9e1ed/kombu/utils/json.py#L36-L58

Also msgpack.packb supports a default callback to handle non-native-types. If msgpack serializer behaves just like JSON one than it would not be a problem to switch between one of these two serializers.

sevdog avatar Sep 14 '21 13:09 sevdog

Hey @sevdog :wave:, Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our Open Collective and consider backing us - every little helps!

We also offer priority support for our sponsors. If you require immediate assistance please consider sponsoring us.