I am making a small finance website as a project but I can't seem to figure out how to get specific data from the JSON that is on this Google Finance site. The code should get only the value associated with l but it gets all of the data instead.
$(document).ready(function(){
$.ajax({
url: 'http://finance.google.com/finance/info?client=ig&q=AMD',
dataType: 'jsonp',
data: { get_param: 'l' },
success: function(json) {
console.log(json);
}
});
});
console.log(json[0].l);