Custom serialized and deserialized field names with lombok
问题 Is there a way to specify different serialized/deserialized JSON field names without having to write out both getter and setter methods explicitly, perhaps using lombok getters and setters? As similar to this example, the following code permits incoming JSON to be deserialized to a different POJO field name. It also causes the POJO field name to be serialized as is: public class PrivacySettings { private String chiefDataOfficerName; @JsonProperty("CDO_Name__c") private void