我从服务器发送了以下 json,我一直在尝试使用 jsrender 对其进行迭代但没有成功
{
"1": {
"username": "one",
"sent_email": false,
"group": "blogger",
"date_activated": null,
"activated_email": false,
"email": "email",
"date_registered": null,
"key": "key",
"password": "password",
"id": 1
},
"2": {
"username": "Madawar",
"sent_email": true,
"group": "admin",
"date_activated": "2012-07-17T00:00:00",
"activated_email": true,
"email": "dennis.wanyoike@gmail.com",
"date_registered": "2012-08-22T11:21:39",
"key": "e4hVRItub_A=",
"password": "$2a$12$F3aBLpF.MyyiVDAocPzE9uJn0K5DZ1V4qRim54wl8f3tEv.7VC4ji",
"id": 2
},
"3": {
"username": "one",
"sent_email": false,
"group": "blogger",
"date_activated": null,
"activated_email": false,
"email": "email",
"date_registered": null,
"key": "key",
"password": "password",
"id": 3
},
"4": {
"username": "one",
"sent_email": false,
"group": "blogger",
"date_activated": null,
"activated_email": false,
"email": "email",
"date_registered": null,
"key": "key",
"password": "password",
"id": 4
},
"5": {
"username": "one",
"sent_email": false,
"group": "blogger",
"date_activated": null,
"activated_email": false,
"email": "email",
"date_registered": null,
"key": "key",
"password": "password",
"id": 5
},
"6": {
"username": "one",
"sent_email": false,
"group": "blogger",
"date_activated": null,
"activated_email": false,
"email": "email",
"date_registered": null,
"key": "key",
"password": "password",
"id": 6
},
"7": {
"username": "one",
"sent_email": false,
"group": "blogger",
"date_activated": null,
"activated_email": false,
"email": "email",
"date_registered": null,
"key": "key",
"password": "password",
"id": 7
},
"10": {
"username": "Madawar12",
"sent_email": true,
"group": "blogger",
"date_activated": null,
"activated_email": false,
"email": "dennis.wanyoike@gmail12.com",
"date_registered": "2012-08-30T17:13:07",
"key": "JehBfVpoheE=",
"password": "$2a$12$V04xpEqCWSLIWl0rte2U7OQC5/TqFcDehKJiuiqRALiW3uEYTBFsK",
"id": 10
},
"11": {
"username": null,
"sent_email": true,
"group": "blogger",
"date_activated": null,
"activated_email": false,
"email": null,
"date_registered": "2012-08-30T17:16:32",
"key": "MG7kgSUzNK0=",
"password": "$2a$12$6gJa1L0MZn9HB/fZNk1cXe1RDjAIOaAv1ASTgBJu.OrhOMpNfCkOG",
"id": 11
},
"12": {
"username": null,
"sent_email": true,
"group": "blogger",
"date_activated": null,
"activated_email": false,
"email": null,
"date_registered": "2012-08-30T17:17:30",
"key": "qJisSUS8osQ=",
"password": "$2a$12$tfDdBODJFTz/afhAvm7EjOpH.Zp.Q8Jw.h312uFZCwJQTlKRI0k6G",
"id": 12
}
}
数字 1-12 代表记录号,不一定是连续的,是否可以使用 jsrender 显示此记录,或者我是否必须更改服务器的结果?