I have the following array of objects, and I need to display it in a table as shown in the screenshot:
This is the object:
[
{
"dayText": "Viernes",
"monthText": "Diciembre",
"date": "2021-12-10T15:26:55.273Z",
"start": "08:00",
"end": "08:30",
"scheduled": true
},
{
"dayText": "Viernes",
"monthText": "Diciembre",
"date": "2021-12-10T15:26:55.273Z",
"start": "09:00",
"end": "09:30",
"scheduled": false
},
{
"dayText": "Sábado",
"monthText": "Diciembre",
"date": "2021-12-11T15:26:55.273Z",
"start": "08:00",
"end": "08:15",
"scheduled": false
},
{
"dayText": "Sábado",
"monthText": "Diciembre",
"date": "2021-12-11T15:26:55.273Z",
"start": "08:15",
"end": "08:30",
"scheduled": false
},
{
"dayText": "Sábado",
"monthText": "Diciembre",
"date": "2021-12-11T15:26:55.273Z",
"start": "08:30",
"end": "08:45",
"scheduled": false
},
{
"dayText": "Domingo",
"monthText": "Diciembre",
"date": "2021-12-12T15:26:55.273Z",
"start": "08:00",
"end": "08:30",
"scheduled": false
},
{
"dayText": "Domingo",
"monthText": "Diciembre",
"date": "2021-12-12T15:26:55.273Z",
"start": "09:00",
"end": "09:30",
"scheduled": true
},
{
"dayText": "Domingo",
"monthText": "Diciembre",
"date": "2021-12-12T15:26:55.273Z",
"start": "10:30",
"end": "11:00",
"scheduled": true
},
{
"dayText": "Domingo",
"monthText": "Diciembre",
"date": "2021-12-12T15:26:55.273Z",
"start": "11:00",
"end": "11:30",
"scheduled": false
},
{
"dayText": "Domingo",
"monthText": "Diciembre",
"date": "2021-12-12T15:26:55.273Z",
"start": "11:30",
"end": "12:00",
"scheduled": false
},
{
"dayText": "Lunes",
"monthText": "Diciembre",
"date": "2021-12-13T15:26:55.273Z",
"start": "10:30",
"end": "11:00",
"scheduled": false
},
{
"dayText": "Lunes",
"monthText": "Diciembre",
"date": "2021-12-13T15:26:55.273Z",
"start": "11:00",
"end": "11:30",
"scheduled": false
},
{
"dayText": "Lunes",
"monthText": "Diciembre",
"date": "2021-12-13T15:26:55.273Z",
"start": "11:30",
"end": "12:00",
"scheduled": false
}
]