Open petered opened 1 year ago
Hey @madman-bob . I was looking to make a nice general-purpose tool for python serialisation in the coming months, as it seems that serialization is one of those things where people constantly re-invent the wheel. So I was happy to find your PyPi package - which really provides a really nicely written foundation for this. I'm not sure to what extent you want to extend the scope of this package - there're a few things that I'd like to add. I can either add them to this repo, or to another repo with this repo as a dependency.
Can you me know which, if any, you'd consider taking them as PR's in your repo?
Tuple[int, str]
in default JSONSerializer
) numpy
, msgpack
, msgpack_numpy
dependencies)
Adds Tuple-handling to the
JSONSerializer
, using atuple_deserialization
function that will also make it easier for custom serialisers to handle tuples.Also adds documentation and type-annotations to the
Serializer
class and the enigmaticRefinementDict
.