title: Extract single value from JSON Dump response Python
body: <p>I'm having some difficulties with extracting a single value from a JSON dump. I'm trying to extract the single value of a stock from JSON output generated by using the GoogleFinance package, but I keep getting this error message: </p>
  
  <blockquote>
    <p><em>expected string or buffer</em>. </p>
  </blockquote>
  
  <p>I've tried to find a solution on the forum but nothing seems to be working. </p>
  
  <p>One thing I've tried is loading the JSON in to a string by using <code>json.loads</code>, but I keep running in to the same wall. </p>
  
  <pre><code>    from googlefinance import getQuotes
      import json
      import sys
  
      Apple = json.dumps(getQuotes('AAP'), indent=2) #gets the quote from Apple stock. I know I should use the json.loads but that doesn't seem to be working for the getQuotes. 
  
  
  #JSON output    
      [
        {
          "Index": "NYSE", 
          "LastTradeWithCurrency": "137.24", 
          "LastTradeDateTime": "2016-11-07T13:09:43Z", 
          "LastTradePrice": "137.24", 
          "LastTradeTime": "1:09PM EST", 
          "LastTradeDateTimeLong": "Nov 7, 1:09PM EST", 
          "StockSymbol": "AAP", 
          "ID": "668575"
        }
      ]
  
  
      #Trying to solve the issue by loading the json to a string
      resp = json.loads(Apple)
  
      #print the resp
      print (resp)
  
      #extract an element in the response
      print (resp["LastTradeWithCurrency"])
  </code></pre>