问题遇到的现象和发生背景
"nodeName": "u_ok_001",
"sementicItem": {
"sementicItemId": "31",
"value": "Ok(yes)"
},
"tableRuleData": [
{
"example": {
"ruleId": "373",
"phraseItems": [
{
"phraseItemId": "333",
"indexValue": "1",
"phraseItemIndexId": "1017",
"maxDistance": "",
"matchedWords": [{
"matchedWordId": "940",
"value": "好"
}],
"excludeWords": [
{
"excludeWordId": "93",
"value": "人工",
"rightMaxDistance": "",
"leftMaxDistance": "5"
}
]
},
{
"phraseItemId": "340",
"indexValue": "8",
"phraseItemIndexId": "1018",
"maxDistance": "2",
"matchedWords": [{
"matchedWordId": "973",
"value": "还行"
}],
"excludeWords": [
{
"excludeWordId": "94",
"value": "人工",
"rightMaxDistance": "8",
"leftMaxDistance": ""
}
]
}
]
},
"standardWord": {}
}
],
"tablePhrase": [
{
"phraseItem": {
"id": "333",
"indexValue": "1",
"slot": ""
},
"matchedWords": [
{
"matchedWordId": "940",
"value": "好",
"maxPosIndex": 2,
"maxSpeechLength": null,
"autoUnexpectedWord": true,
"weight": null,
"unexpectedWords": []
},
{
"matchWordId": "941",
"value": "蛮好",
"maxPosIndex": 0,
"maxSpeechLength": 2,
"autoUnexpectedWord": true,
"weight": null,
"unexpectedWords": []
},
{
"matchWordId": "942",
"value": "可以",
"maxPosIndex": 3,
"maxSpeechLength": 8,
"autoUnexpectedWord": true,
"weight": null,
"unexpectedWords": []
},
{
"matchWordId": "943",
"value": "o_k",
"maxPosIndex": 1,
"maxSpeechLength": 3,
"autoUnexpectedWord": true,
"weight": null,
"unexpectedWords": []
},
{
"matchWordId": "944",
"value": "行",
"maxPosIndex": 0,
"maxSpeechLength": 2,
"autoUnexpectedWord": true,
"weight": null,
"unexpectedWords": []
},
{
"matchWordId": "945",
"value": "中",
"maxPosIndex": 0,
"maxSpeechLength": 1,
"autoUnexpectedWord": true,
"weight": null,
"unexpectedWords": []
},
{
"matchWordId": "946",
"value": "是",
"maxPosIndex": 2,
"maxSpeechLength": 2,
"autoUnexpectedWord": true,
"weight": null,
"unexpectedWords": [
{
"unexpectedWordId": "173",
"value": "是因为"
},
{
"unexpectedWordId": "174",
"value": "这个是"
},
{
"unexpectedWordId": "175",
"value": "这是"
},
{
"unexpectedWordId": "176",
"value": "是不是"
},
{
"unexpectedWordId": "177",
"value": "你们是"
},
{
"unexpectedWordId": "178",
"value": "你是"
},
{
"unexpectedWordId": "179",
"value": "是他"
},
{
"unexpectedWordId": "180",
"value": "是十"
},
{
"unexpectedWordId": "181",
"value": "是三"
},
{
"unexpectedWordId": "182",
"value": "给我是"
}
]
},
{
"matchWordId": "947",
"value": "对",
"maxPosIndex": 0,
"maxSpeechLength": 2,
"autoUnexpectedWord": true,
"weight": null,
"unexpectedWords": []
},
{
"matchWordId": "948",
"value": "嗯",
"maxPosIndex": 2,
"maxSpeechLength": 4,
"autoUnexpectedWord": true,
"weight": null,
"unexpectedWords": []
}
]
}
]
问题相关代码,请勿粘贴截图
前端页面如何怎么读取json文件下任意值 一层一层读的方法是什么