-1
我在mongo數據庫中有以下json結構。從JSON查詢相應的密鑰
{
"branch": [
{
"section": [
{
"sub": "edc",
"time": "one hour",
"frequency": "3"
},
{
"sub": "bee",
"time": "two hours",
"frequency": "4"
}
]
},
{
"section": [
{
"sub": "ss",
"time": "one hour",
"frequency": "2"
},
{
"sub": "ms",
"time": "two hours",
"frequency": "5"
}
]
}
]
}
我想執行一個查詢,使得我要像
edc
bee
ss
ms
提示:如果你沒有使用一個問號,你可能沒有問一個問題... – nnnnnn 2013-05-14 10:56:13
嘗試'jsonpath'庫 – kirilloid 2013-05-14 11:15:37