I need to create multiple Asset objects using a JSON response. My JSON response is similar to below. This only create the object for first JSON object. What am I doing wrong?
"status": "OK",
"response": [
{
"devices": [
{
"deviceudid": "F11243C",
"serial_number": "C02GN0K1Q6LW"
},
{
"deviceudid": "63643363E",
"serial_number": "11111"
},
{
"deviceudid": "F346436436D",
"serial_number": "12222"
},
{
"deviceudid": "F3414364747B88",
"serial_number": "333"
},
{
"deviceudid": "F34644C",
"serial_number": "444",
}
]
}]