我有以下方式的数据结构。我想检索所有具有subjectName PHYSICS PAPER-I 和marksGained 40 的记录。
是否可以查询此类记录?我们可以使用其他库来实现这一目标吗?
{
"CID": "A1",
"COL_ID": "HARISHFYSX",
"district": "ADILABAD",
"grandresult": "C",
"grandtotal": "232",
"stdntname": "JAMES",
"subjects": [
{
"marksGained": "38",
"outcome": "P",
"passType": "*",
"subjectName": "ENGLISH PAPER -I"
},
{
"marksGained": "56",
"outcome": "P",
"passType": "*",
"subjectName": "TELUGU PAPER-I"
},
{
"marksGained": "42",
"outcome": "P",
"passType": "*",
"subjectName": "BOTANY PAPER-I"
},
{
"marksGained": "22",
"outcome": "P",
"passType": "*",
"subjectName": "ZOOLOGY PAPER-I"
},
{
"marksGained": "40",
"outcome": "P",
"passType": "*",
"subjectName": "PHYSICS PAPER-I"
},
{
"marksGained": "34",
"outcome": "P",
"passType": null,
"subjectName": "CHEMISTRY PAPER-I"
}
],
"ticket": "1534343434",
"UID": "A1_1534343434"
}