The @JsonProperty annotation is used to map property names with JSON keys during serialization and deserialization . By default, if you try to serialize a POJO, the generated JSON will have keys mapped to the fields of the POJO.
The @JsonProperty annotation is used to map property names with JSON keys during serialization and deserialization . By default, if you try to serialize a POJO, the generated JSON will have keys mapped to the fields of the POJO.