title: Using Gson fromJson method not working
body: <p>I have a json string that is represented as below: </p>
  
  <pre><code> "{"RequestId":255,
    "RequestTime":"2016-04-08T17:00:40.327",
    "Otp":"123456",
    "AppName":"This is my app name",
    "IsAwaitingResponse":false}"
  </code></pre>
  
  <p>I also have a class object below that I wish to create using the Gson library fromJson() method...</p>
  
  <pre><code>public class AccessRequest{
      public int Id;
      public String RequestTime;
      public String Otp;
      public String AppName;
      public Boolean IsAwaitingResponse;
  }
  </code></pre>
  
  <p>Now when I call the gson.fromJson method it does not error but my object is not getting set. This is the code I'm using...</p>
  
  <pre><code>Gson gson = new Gson();
  AccessRequest ar;
  ar = gson.fromJson(jsonString, AccessRequest.class);
  </code></pre>
  
  <p>It is instead setting my 'ar' variable to some strange gson object that clearly is wrong but no error is thrown. </p>
  
  <blockquote>
    <p>{serializeNulls:falsefactories:[Factory[typeHierarchy=com.google.gson.JsonElement,adapter=com.google.gson.internal.bind.TypeAdapters$25@e8dad0a],</p>
  </blockquote>
  
  <p>From what I can see, there is no error in my Json string ( although I am new to json ) , so I'm not really sure why this method wouldn't be working...</p>