title: Deserialize with gson and null values
body: <p>I am trying to deserialize my own class with a null value. But my code doesn't work.</p>
  
  <p>My json:</p>
  
  <pre><code>{"Text":null,"Code":0,"Title":"This is Sparta!"}
  </code></pre>
  
  <p>In my method I do the following:</p>
  
  <pre><code>this.setText(gson.fromJson(jsonObject.getString("Text"), String.class));
  this.setTitle(gson.fromJson(jsonObject.getString("Title"), String.class));
  this.setCode(gson.fromJson(jsonObject.getString("Faccode"), Integer.class))
  </code></pre>
  
  <p>I am not deserialize the whole object, because there can be a <code>List&lt;T&gt;</code>, too.</p>
  
  <p>The error:</p>
  
  <pre><code>myapp W/System.err? com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 6 path $
  myapp W/System.err? at com.google.gson.Gson.assertFullConsumption(Gson.java:786)
  myapp W/System.err? at com.google.gson.Gson.fromJson(Gson.java:776)
  myapp W/System.err? at com.google.gson.Gson.fromJson(Gson.java:724)
  myapp W/System.err? at com.google.gson.Gson.fromJson(Gson.java:696)
  </code></pre>