title: Jackson read-only property in method
body: <p>I need to exposes a property in my json that will be processed in the getter method.</p>
  
  <p>The class:</p>
  
  <pre><code>public class Configuracao{
  
     private String departamento;
  
     public String getDepartamento(){/**getter code**/}
  
     public void setDepartamento(String departamento){/**setter code**/}
  
     public String getDepartamentos(){/***Some logic code***/}
  
  }
  </code></pre>
  
  <p>The json that got in front: <code>{departamento: "Lote", departamentos: "Lotes"}</code></p>
  
  <p>Works fine in serialization, but when my front-end post the json back, jackson throws a unrecognized field exception caused by 'departamentos'. How can I tell that I just want to 'departamentos' be serialized by the method value and be ignored in deserialization. I tried <code>@JsonIgnoreProperty</code>, <code>@JsonGetter</code> and <code>@JsonProperty(access = JsonProperty.Access.READ_ONLY)</code> on the method but nothing works.</p>