By using annotations and adopting a configurable method, multiple ways of deciphering and reappearing on a single field can be realized.
first look at the effect
![](https://img-blog.csdnimg.cn/img_convert/f25ffc77f73b5b3760e8dc4b9d7e6c94.png)
The first step is to define the field annotation and enumeration of decryption methods
import com.fasterxml.jackson.annotation.JacksonAnnotationsInside;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.lang.annotation.ElementType;
import java.lan