设计个json存储做题进度做题情况如每道题对错
{ "user_id": "12345", "progress": { "total_questions": 100, "completed_questions": 50, "remaining_questions": 50 }, "questions": [ { "question_id": "1", "question_text": "What is the capital of France?", "user_answer": "Paris", "is_correct": true }, { "question_id": "2", "question_text": "Who painted the Mona Lisa?", "user_answer": "Leonardo da Vinci", "is_correct": true }, { "question_id": "3", "question_text": "What is the largest planet in our solar system?", "user_answer": "Jupiter", "is_correct": false } // more questions... ]
原文地址: https://www.cveoy.top/t/topic/iA9a 著作权归作者所有。请勿转载和采集!