0
如何爲雲中的(payload)專門編寫以下數據的選擇器查詢?如何在cloudant中爲cloudant json編寫選擇器查詢數據
{
"_id": "1575370d5a7a4cdcd11c64f9066ed454",
"_rev": "1-2c8aa9288c2e86aa83cea78299c63dcf",
"topic": "smart_parking",
如何寫選擇器查詢下面的數據專門針對雲中的(有效載荷)?
"payload": [
{
"smart_parking": [
{
如何爲下面的JSON響應編寫選擇器?
"spots": [
{
"read_time": "Wed Jun 21 11:37:55 2017",
"awsDeviceIdentifier": "myiot",
"vehicle_Make_Model": "suv-crossover",
"model_num_car": "subaru_tribeca",
"vehicle_make": "subaru",
"color": "blue",
"time_stamp": 1498045075.780167,
"number_plate": "DZDDYXR",
"type": "car",
"occupied": true
}
]
}
]
}
]
}
//這是一個樣本