Source Json coming from Azure Blob as an entry in a single column.
{
"1": {
"startDay": ["Monday", "Tuesday", "Wednesday", "Thursday"],
"startTime": "9:00AM",
"endTime": "10:00AM",
"appointmentType": "104",
"repeatFreq": "1",
"endBy": "infinite"
},
"2": {
"startDay": ["Monday", "Tuesday", "Wednesday", "Thursday"],
"startTime": "10:00AM",
"endTime": "11:00AM",
"appointmentType": "104",
"repeatFreq": "1",
"endBy": "infinite"
}
}
this needs to be flattened to :
{
"Column_ID":"1",
"startDay": ["Monday", "Tuesday", "Wednesday", "Thursday"],
"startTime": "9:00AM",
"endTime": "10:00AM",
"appointmentType": "104",
"repeatFreq": "1",
"endBy": "infinite"
}
{
"Column_ID":"2",
"startDay": ["Monday", "Tuesday", "Wednesday", "Thursday"],
"startTime": "10:00AM",
"endTime": "11:00AM",
"appointmentType": "104",
"repeatFreq": "1",
"endBy": "infinite"
}