读取一个json文件中的部分内容写入另一个json文件
首先是第一个json文件:
[
{
"id": 1,
"context": "Xiao Li was admitted to Tsinghua University.",
"question": "Which of the following conditions should be added to conclude that Xiao Li was admitted to Tsinghua University?",
"A": "At least one of Xiao Zhang and Xiao Li failed to enter Tsinghua University.",
"B": "Both Xiao Zhang and Xiao Sun have been admitted to Peking University.",
"answer": "B"
}