OUT
- The type of objects that should be serializedIN
- The type of objects that should be de-serializedpublic interface SerializationProvider<OUT,IN> extends ModelSerializer<OUT>, ModelDeserializer<IN>
ModelSerializer
and ModelDeserializer
.
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).
writeModel, writeModel
readModel, readModel, readModel, readModel
Copyright © 2020. All rights reserved.