title: Gson ignore json field and deserialize
body: <p>I'm working with android and gson and i was wondering if i can ignore a field from the webservice. </p>
  
  <p>this its my gson object</p>
  
  <pre><code>Gson gson = new GsonBuilder().serializeNulls().create();
  </code></pre>
  
  <p>So what i need is to ignore validator field and deserialize to my custom bean in the following code.</p>
  
  <p>Its any way to do that with gson ?</p>
  
  <pre><code>{ "posts":
    [      
  
          {
         "username": "John",  
         "message": "I'm back",
         "time": "2010-5-6 7:00:34"
          "validator":[{
                          "prog": "Name1",
                          "name": "Name2",
                          "computername": "Name3",
                          "date": "2010-11-20 19:39:55"
                        }]
          }
        ,
  
          {
            "username": "Smith",
            "message": "I've been waiting",
            "time": "2010-4-6 10:30:26"
             "validator":[{
                          "prog": "Name1",
                          "name": "Name2",
                          "computername": "Name3",
                          "date": "2010-11-20 19:39:55"
                        }]
  
         }
  ]}
  </code></pre>
  
  <p>Thanks in advance</p>
  
  <p>Cheers</p>