我的JSON数据就像
{
"Brand":["EM-03","TORRES"],
"Price":["5.00000","10.00000","15.00000"],
"Country":["US","SG"]
}
我想将JSON数据循环到
Brand =
EM-03 -
TORRES
Price =
5.00000 -
10.00000 -
15.00000
Country = US - SG
答案 0 :(得分:1)
$.each(data, function(key, value){
console.log(value);
});
答案 1 :(得分:0)
试试这个
$.each(data, function(key, value){
console.log(value.join('-'));
});