title: Can Gson and Jackson annotations coexist in the same POJO?
body: <p>I'm working on a legacy Android project which uses a very old version of Jackson lib to parse JSONs brought from our web API.</p>
  
  <p>I am currently working on a new feature for said project, and would like to use Retrofit with Gson lib as its JSON parser, since both libs provide more flexibility and a cleaner code if compared to our previous lib choices.</p>
  
  <p>Problem is, I will need some of the legacy POJOs, and those already have Jackson annotations. Does putting Gson and Jackson annotations in the same class generate any conflicts? Or will I be forced to create mirror classes with Gson annotations in order to avoid potential issues?</p>
  
  <p>Example:</p>
  
  <pre><code>import org.codehaus.jackson.annotate.JsonProperty;
  import com.google.gson.annotations.SerializedName;
  
  public class someClass {
  
      @JsonProperty ("some_attribute") // Jackson annotation
      @SerializedName("some_attribute") // Gson annotation
      private String someAttribute;
  
  }
  </code></pre>