@PreSerialize
/ @PostDeserialize
method annotations
#2045
Labels
most-wanted
Tag to indicate that there is heavy user +1'ing action
Could you please consider something like @PreSerialize and @PostDeserialize method annotations?
It would be very useful for data sanitization, security/completeness checks, logging, "condensing" data (having "dense" fields used only in storage/transfer, compressed from "real" not-serializable fields before serialization and decompressed after deserialization). I know most or all of that can be done in custom serializers/deserializers, but with pre-serialize/post-deserialize methods it would be much easier both to write and maintain later.
The text was updated successfully, but these errors were encountered: