Now, I am getting data like this.
{
“data”: {
“name”: “entertainment”,
“carriers”: [111,222,333]
}
}
but i want new entry/record if carriers are more than one like this
{
“data”: {
“name”: “entertainment”,
“carriers”: 111
}
},
{
“data”: {
“name”: “entertainment”,
“carriers”: 222
}
},
{
“data”: {
“name”: “entertainment”,
“carriers”: 333
}
}
How can i achieve this?