Gson.toJson not converting boolean values from object
<p>Google's Gson.toJson(Object src) not converting boolean values. 
For example, My Java object is say:</p>

<pre><code>class MyObj { 
    private String name;
    private boolean teen;

    //getter,setter ommitted...
  }

MyObj obj = new MyObj();
obj.setName("Me");
obj.isTeen(false);

Gson.toJson(obj);
</code></pre>

<p>While converting this object it's writing like this </p>

<pre><code>MyObj { "name" : "Me" }
</code></pre>

<p>boolean is missing even though there was a value. </p>