我无法使用javascript解析此数据,我想动态获取studentdata和问题数据...
代码:
{
"studentdata": "[{\"studentid\":3,\"attemptid\":\"724\",\"tokenid\":\"dc049c8429af5ec2b8e7fe8a0b20d4a3\"}]",
"quizid": "5",
"tap": false,
"body": "",
"data": "[{\"question\":\"If a and b are negative numbers, and b - a is negative\",\"options\":[\"True\",\"False\"],\"answer\":[true,false]},{\"question\":\"The equation 2x 7 \u003d 2(x 5) has one solution\",\"options\":[\"True\",\"False\"],\"answer\":[false,true]},{\"question\":\"If f(x)\u003dsqrt(1-x), then f(-3)\u003d2\",\"options\":[\"True\",\"False\"],\"answer\":[true,false]},{\"question\":\"The reciprocal of 0 is equal to 0\",\"options\":[\"True\",\"False\"],\"answer\":[false,true]},{\"question\":\"The additive inverse of -10 is equal to 10\",\"options\":[\"True\",\"False\"],\"answer\":[true,false]}]",
"title": "Quiz"
}
任何帮助或建议将不胜感激。
谢谢-
答案 0 :(得分:0)
StatefulService