title: Exception while trying to get data from json string
body: <p>I am creating an android app that displays weather data it's getting in json format from an online API. For that I'm using the GSON libary.</p>
  
  <p>I have the following JSON string, which i got from a map object:</p>
  
  <pre><code>String weather = jsonJavaRootObject.get("weather").toString();
  </code></pre>
  
  <p>It contains the following value:</p>
  
  <pre><code>{id=800, main=Clear, description=clear sky, icon=01n}
  </code></pre>
  
  <p>But when i try to create another Map object with that string i get an exception.</p>
  
  <pre><code>Map weatherMap = new Gson().fromJson(weather, Map.class);
  </code></pre>
  
  <p>The exception logcat report:</p>
  
  <blockquote>
    <p>com.google.gson.JsonSyntaxException:
    com.google.gson.stream.MalformedJsonException: Unterminated object at
    line 1 column 43</p>
  </blockquote>
  
  <p>I'm confused, because I have tried the same with another json string as the following and it worked just fine:</p>
  
  <pre><code>{temp=277.15, pressure=1021, humidity=80, temp_min=277.15, temp_max=277.15}
  </code></pre>