我試圖從這個JSON文件中解析第一個徽標圖像(assets/images/resized/0002/3133/23133v9-max-150x150.png)。從JSON數組中獲取圖像
http://api.crunchbase.com/v/1/company/airbnb.js
我這是怎麼分析的其他數據,但我無法弄清楚如何獲取圖像:
$.ajax({
url: "http://api.crunchbase.com/v/1/company/airbnb.js",
dataType: 'jsonp',
success: function(results){
var number_of_employees = results.number_of_employees;
var founded_month = results.founded_month;
var founded_year = results.founded_year;
$('#number_of_employees').append(number_of_employees);
$('#founded').append(founded_month + '/' + founded_year);
}
});
任何幫助,不勝感激!
謝謝!