title: is it possible to Change the json name of fields of a class by annotating the object of the class instead of annotating the fields
body: <pre><code>Gson gson = gsonBuilder.create();
  String json = gson.toJson(obj);
  </code></pre>
  
  <p>This object contains a pair . When it is converted to json it's value is displayed as :</p>
  
  <blockquote>
    <p>_first : 1.0 ,
    _second : 2.0</p>
  </blockquote>
  
  <p>i want to change the name of the variable first and second to some string.</p>
  
  <p>Can I change the name of the fields using annotation on the object 
  for example</p>
  
  <pre><code>    class one {
  
      @SerializedName("number")
      int num ;
  
      @Some annotation to change the name of field one and field two
      Pair&lt;Double,Double&gt; var;
  
      Pair&lt;String,Integer&gt; var2;
      }
  
      class Pair&lt;T1,T2&gt;{
  
      T1 field_1;
      T2 field_2;
  }
  </code></pre>