OUT- The type of objects that should be serialized
IN- The type of objects that should be de-serialized
public interface SerializationProvider<OUT,IN> extends ModelSerializer<OUT>, ModelDeserializer<IN>
This interface allows to specify two independent types (one for serialization, one for de-serialization) which allows implementing classes to specify types more precise. This may be useful if the respective types hold generics as well (which are invariant).
Copyright © 2020. All rights reserved.