json数据格式:
{
"name": "Alice",
"age": 30,
"isStudent": false,
"courses": [
{
"courseName": "Mathematics",
"credits": 3,
"instructor": {
"name": "Dr. Smith",
"email": "smith@example.com"
}
},
{
"courseName": "Physics",
"credits": 4,
"instructor": {
"name": "Dr. Johnson",
"email": "johnson@example.com"
}
}
]
}
怎么将上面的JSON语句用Qt构建出来呢,可以利用JSON解析工具来理清结构:https://jsontool.cn/
标签:Qt,courseName,Json,JSON,解析,name From: https://www.cnblogs.com/zhuchunlin/p/18588092