FasterXML / FasterXML/jackson-databind

`@PreSerialize` / `@PostDeserialize` method annotations

Open
#2,045 1 comment 18 reactions 0 assignees View on GitHub
most-wanted
Dominant language
Java
Stars
3.7k
Forks
1.5k
Avg merge
3d 6h
Merged PRs (30d)
28

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.