我在文档中有一个字典字段。
带有“国家”字段的示例文档:
...
"countries": {
"us": {
"uid": "725129b4-debe-47dc-9ab0-aa8aa620e35b"
},
"canada": {
"uid": "83250bc5-49ae-4775-a933-d7a3e9d00d1c"
},
"uk": {
"path": "/uk/",
"uid": "e32347a9-522c-4c66-be3b-3edfd50c76bb"
},
"spain": {
"path": "/spain/",
"uid": "93ecd56b-1ed2-4647-bee8-8685183eca2e"
},
"india": {
"path": "/india/",
"uid": "c4458535-c63b-45e1-bb24-cabbc65d59a4"
}
}
...
我需要从所有文件中获取具有“路径”属性的国家/地区吗?