但是我搜索 description 里的内容的时候,返回需要返回这个 description 所在的集合的所有其他字段
这样也可以做吗
{
"articleId": 83995,
"articleSub": 0,
"freightGroupId": 83900,
"class": "77.5",
"description": "Bubble Forming Compounds, plastic, see Note, item 83996, in boxes",
"issueDate": "0001-01-01T00:00:00Z",
"effectiveDate": "0001-01-01T00:00:00Z",
"hazard": false,
"articleNotes": [
{
"noteReferenceId": 83996,
"text": "NOTE-One blowing tube may be included for each inner container."
}
}
@
llsquaer
谢谢楼上各位
下面是一个我的示例 json
{
"status": {
"code": 200,
"messages": [
"Success."
]
},
"data": [
{
"articleId": 0,
"articleSub": 0,
"freightGroupId": 83900,
"issueDate": "0001-01-01T00:00:00",
"effectiveDate": "0001-01-01T00:00:00",
"hazard": false,
"articleNotes": [],
"articles": [
{
"articleId": 83980,
"articleSub": 0,
"freightGroupId": 83900,
"class": "100",
"description": "Billiard or Pocket Billiard (Pool) Tables, with other than stone or slate slabs (beds), KD, or with legs folded to underside of table top, see Notes, items 83982 and 83984, in boxes, crates or Package 1317",
"issueDate": "0001-01-01T00:00:00Z",
"effectiveDate": "0001-01-01T00:00:00Z",
"hazard": false,
"articleNotes": [
{
"noteReferenceId": 83982,
"text": "NOTE-With each table there may be included not more than four cues and the equipment necessary for playing."
}
],
"articles": []
},
{
"articleId": 83995,
"articleSub": 0,
"freightGroupId": 83900,
"class": "77.5",
"description": "Bubble Forming Compounds, plastic, see Note, item 83996, in boxes",
"issueDate": "0001-01-01T00:00:00Z",
"effectiveDate": "0001-01-01T00:00:00Z",
"hazard": false,
"articleNotes": [
{
"noteReferenceId": 83996,
"text": "NOTE-One blowing tube may be included for each inner container."
}
],
"articles": []
},
{
"articleId": 84060,
"articleSub": 0,
"freightGroupId": 83900,
"class": "85",
"description": "Dart Games, consisting of steel tipped darts and targets, in boxes",
"issueDate": "0001-01-01T00:00:00Z",
"effectiveDate": "0001-01-01T00:00:00Z",
"hazard": false,
"articleNotes": [],
"articles": []
}
]
}
]
}