📅  最后修改于: 2022-03-11 14:58:06.054000             🧑  作者: Mango
var data = JSON.stringify([{"model": "app.mdl", "pk": 1, "fields": {"name": "test", "rank": 1}}]);
data = JSON.parse(data);
data.forEach(function(element){
console.log(element);
});
Run code snippet