Skip to content

@PreSerialize / @PostDeserialize method annotations #2045

@Lilianne-Blaze

Description

@Lilianne-Blaze

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    most-wantedTag to indicate that there is heavy user +1'ing action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions