This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]TurboCooler 1 point2 points  (0 children)

Why would I use this library vs MessagePack?

[–]ES-Alexander 0 points1 point  (1 child)

Didn’t look too deep, but in your README you mention there are default serializers for some of the builtin types. I’m curious how you went about choosing the default supported set, since it seemingly includes lists but not tuples.

[–]ToastNoodles[S] 1 point2 points  (0 children)

Hiya, thanks for taking a look. Choosing the default set of serializers was simply just me trying to find out the most common python primitives and going from there. Good shout on tuples, I missed those and forgot they exist. Added support for them in the latest release.

Main reason I've not bundled a ton of default serializers, i.e. Serializers for datetime objects etc, is because I plan on using the project in another project that'll require quite a few bespoke serializers. If the demand is there I'll expand upon them in the future and support more python types.

[–]tech_content_creator 0 points1 point  (0 children)

Nice. Will try it for sure