def register_serializer(name, serializer):
    if not isclass(serializer):
        serializer = serializer.__class__
    _serializers[name] = serializer
Register a new serializer to the library.
dataset/ETHPy150Open lsbardel/python-stdnet/stdnet/odm/utils.py/register_serializer