var colName = [ ["08020092", "AVX", "1200m", "120", "0.3", "30u"], ["08020098", "KEMET", "1200m", "120", "1.0", "100u"], ["08020000", "VISHAY", "1200m", "120", "2.5", "250u"],]var json=[{0:"08020092",1: "AVX", 2: "1200m", 3:"120",4: "0.3", 5:"30u"},{0:"08020098",1: "AVX", 2: "1200m", 3:"120",4: "1.0", 5:"100u"},{0:"08020000",1: "AVX", 2: "1200m", 3:"120",4: "0.3", 5:"250u"},]上面这个colName如何转换成下面那个json格式
添加回答
举报
0/150
提交
取消