package com.os.operando.garum.serializers;

public abstract class TypeSerializer<D, S> {
    public abstract Class<D> getDeserializedType();

    public abstract Class<S> getSerializedType();

    public abstract S serialize(D data);

    public abstract D deserialize(S data);
}
@@ -270,10 +270,71 @@
 S data);
+%0A%0A    public D getDefaultValue() %7B%0A        return null;%0A    %7D
 %0A%7D

Add getDefaultValue method