Hi guys, who of you can say how to capture…
from this:
Devices = [
{
“serialNumber”: “8E5D5F69E32A0FF9A526C3BB7B7725AC”,
“macAddress”: “2000F6F6C4EE”,
“deviceOs”: null,
“deviceOsVersion”: null,
“appName”: null,
“appVersion”: null,
“location”: “Geislingen an der Steige, Germany,”,
“name”: “SM-F700F”,
“identifier”: “IFXVp8”,
“role”: “DYNAMIC”,
“timezone”: “Europe/Berlin”,
“status”: “DISABLED”,
“platform”: “Android”
},
{
“serialNumber”: “IOS.A9536077-6ECC-4791-B7F4-26E9D82DE9DA”,
“macAddress”: “7D1790A27D17”,
“deviceOs”: null,
“deviceOsVersion”: null,
“appName”: null,
“appVersion”: null,
“location”: “Westerheim, Germany,”,
“name”: “iPhone”,
“identifier”: “cHInT5”,
“role”: “DYNAMIC”,
“timezone”: “Europe/Berlin”,
“status”: “DISABLED”,
“platform”: “iOS”
},
{
“serialNumber”: “1B42400C8C4EBBC154BFF5A3B6CE07D9”,
“macAddress”: “A877E5A5DEFE”,
“deviceOs”: null,
“deviceOsVersion”: null,
“appName”: null,
“appVersion”: null,
“location”: “Eislingen, Germany,”,
“name”: “OK 2K TV”,
“identifier”: “e6dsAA”,
“role”: “DYNAMIC”,
“timezone”: “Europe/Berlin”,
“status”: “ENABLED”,
“platform”: “STB”
},
{
“serialNumber”: “D15B3ADC7711BA104BBBF972C3D9D823”,
“macAddress”: “A877E59CF180”,
“deviceOs”: “Android”,
“deviceOsVersion”: “9”,
“appName”: “tvon”,
“appVersion”: “3.11.294”,
“location”: “Eislingen, Germany,”,
“name”: “OK 2K TV”,
“identifier”: “mD6sw6”,
“role”: “DYNAMIC”,
“timezone”: “Europe/Berlin”,
“status”: “ENABLED”,
“platform”: “STB”
},
{
“serialNumber”: “633C9454-C183-DB94-E4F6-130328C3C912”,
“macAddress”: “1D5A49163B5E”,
“deviceOs”: “WebOS”,
“deviceOsVersion”: “5.5.0”,
“appName”: “tvon”,
“appVersion”: “3.10.6”,
“location”: "Göppingen, Germany, ",
“name”: null,
“identifier”: “ukXCvl”,
“role”: “DYNAMIC”,
“timezone”: “Europe/Berlin”,
“status”: “ENABLED”,
“platform”: “PC”
}
]
to this:
Devices = 5
i want to know only the number of devices are connected and not all that data…
how i can convert that data in number davices?