本帖最后由 kongmeng0814 于 2022-3-30 00:59 编辑
{
"DeviceCount": 2,
"DeviceList": [
{
"ID": "34020000001180000001",
"Manufacturer": "SIP UAS V3.0.0.971306",
"Online": true,
"RecordCenter": false,
"RecordIndistinct": false,
"CivilCodeFirst": false,
"ChannelOverLoad": false,
"ChannelCount": 20,
},
{
"ID": "34020000001180000002",
"Manufacturer": "SIP UAS V3.0.0.971306",
"Online": true,
"RecordCenter": false,
"RecordIndistinct": false,
"CivilCodeFirst": false,
"ChannelOverLoad": false,
"ChannelCount": 19,
}
请问如何循环遍历 device 里面的 ChannelCount 呢,只会取不一样的json不会处理这种重复出现的数组。。。
|