title: Accessing JSON elements
body: <p>I am getting the weather information from a URL. </p>
  
  <pre><code>weather = urllib2.urlopen('url')
  wjson = weather.read()
  </code></pre>
  
  <p>and what I am getting is: </p>
  
  <pre><code>{
    "data": {
       "current_condition": [{
          "cloudcover": "0",
          "humidity": "54",
          "observation_time": "08:49 AM",
          "precipMM": "0.0",
          "pressure": "1025",
          "temp_C": "10",
          "temp_F": "50",
          "visibility": "10",
          "weatherCode": "113",
          "weatherDesc": [{
              "value": "Sunny"
          }],
          "weatherIconUrl": [{
              "value": "http:\/\/www.worldweatheronline.com\/images\/wsymbols01_png_64\/wsymbol_0001_sunny.png"
          }],
          "winddir16Point": "E",
          "winddirDegree": "100",
          "windspeedKmph": "22",
          "windspeedMiles": "14"
      }]        
   }
  }
  </code></pre>
  
  <p>How can I access any element I want? </p>
  
  <p>if I do: <code>print wjson['data']['current_condition']['temp_C']</code> I am getting error saying: </p>
  
  <blockquote>
    <p>string indices must be integers, not str. </p>
  </blockquote>