I'm encountering an issue retrieving any of the strings from the JSON data provided by the Google Finance API. When debugging, I keep getting "undefined." In the example below, my main focus is on extracting the symbol (t) and the current price (l).
$.getJSON("http://finance.google.com/finance/info?client=ig&q=TSLA&callback=?",
function(json) {
var Stocks = json;
var text ="";
text = Stocks.l + " represents the current stock price for: " + Stocks.t;
document.getElementById('Textn').innerHTML = text;
});