title: Why does GSON put a decimal point and a zero after all my JSON numbers which originally do not contain any decimal?
body: <p>I read the JSON from a web service and converted all the JSON objects to <code>HashMap&lt;String, String&gt;</code> using GSON. </p>
  
  <p>I tested and my JSONObject it's fine (no decimal point in any of the numbers), but the map object has the items with all numbers having a decimal point and a zero after that.</p>
  
  <p>Here is my code: </p>
  
  <pre><code>try {
      jsonArray = json.getJSONArray("PropertyListings");
      for(int i = 0; i &lt; jsonArray.length(); i++){
          JSONObject c = jsonArray.getJSONObject(i);
          HashMap&lt;String, String&gt; map = new HashMap&lt;String, String&gt;();
          map = (HashMap&lt;String, String&gt;) new Gson().fromJson(jsonArray.getString(i), map.getClass());
          listOfProperties.add(map);
      }
  </code></pre>