title: Parsing JSON Array in Android into TextView
body: <p>I have the following JSON data, which is a JSON Array: </p>
  
  <pre><code> {"Temperature":"26.10","Date":"2016-04-11 14:45:25"}
  </code></pre>
  
  <p>I've tried the below code be correct for parsing, however I'm not sure if I'm doing it right:</p>
  
  <pre><code>  JSONArray jArr = new JSONArray (data);
    JSONArray tempArr = getArray("Temperature", jArr);
    String temp = jArr.getString("Temperature");
    TextView Temp1 = (TextView) findViewById(R.id.textTemp);
    Temp1.setText("Temperature: " + temp);
  </code></pre>
  
  <p>Edit: So I messed up and got it wrong, it's supposed to be a JSON Object</p>
  
  <hr>