title: Jackson: Overriding JSON property
body: <p>Trying to override a JSON propert to return date in long format. But it does not seem to work.</p>
  
  <pre><code>@JsonIgnore
  @JsonProperty("dateTime")
  public long getDateTimeInLong() {
      return getDateTime().getTime(); //belongs to super class. It is an AspectJ implementation.
  }
  </code></pre>
  
  <p>If I remove the <code>@JsonIgnore</code> annotation I get <code>Conflicting getter definitions for property "dateTime":</code> exception.</p>