title: How to ignore a JSON element in Android Retrofit
body: <p>I am developing an Android App which is sending a JSON using Android Retrofit (it converts a POJO class in a JSON). It is working fine, but I need to ignore in the sending of JSON one element from the POJO class. </p>
  
  <p>Does anyone know any Android Retrofit annotation?</p>
  
  <p><strong>Example</strong></p>
  
  <p>POJO Class:</p>
  
  <pre><code>public class sendingPojo
  {
     long id;
     String text1;
     String text2;//--&gt; I want to ignore that in the JSON
  
     getId(){return id;}
     setId(long id){
       this.id = id;
     }
  
     getText1(){return text1;}
     setText1(String text1){
       this.text1 = text1;
     }
  
     getText2(){return text2;}
     setText2(String text2){
       this.text2 = text2;
     }
  
  
  }
  </code></pre>
  
  <p><strong>Interface Sender ApiClass</strong></p>
  
  <pre><code> public interface SvcApi {
  
   @POST(SENDINGPOJO_SVC_PATH)
   public sendingPojo addsendingPojo(@Body sendingPojo sp);
  
  }
  </code></pre>
  
  <p>Any idea how to ignore <strong>text2</strong>?</p>