I have a JSON object which contains array fields. Now I want o extract the array and split it into multiple objects.
JSON object:-
{'catalog_num': 5,
'data_array': ['16.1',
'76.1',
'14.1',
'14.1'
]
}
Now I want the split this json array into multiple objects
{'catalog_num': 5,
'data_id': '16.1'},
{'catalog_num': 5,
'data_id': '76.1'},
{'catalog_num': 5,
'data_id': '14.1'},
{'catalog_num': 5,
'data_id': '14.1'},