I have a Gallery that displays Outlook Calender events. Each row shows the subject, start date, end date and venue of the event.

How can all these Gallery items be exported into a single JSON file?
For another use case, I was able to read values from individual controls into a dataCollection and save them to a JSONData variable as JSON formatted data.
ClearCollect( dataCollection,
{ Type: Dropdown1.Selected.Value,
DateFrom: DatePicker1.SelectedDate,
DateTo: DatePicker2.SelectedDate,
Duration: Radio1.Selected.Value
});
Set(JSONData,JSON(dataCollection, IndentFour));
As for the Gallery, it has a Selected property for individual items. It does have an AllItems property but there was an error when I tried to save it to a variable or collection.
How can I extract the Gallery items into one JSON file?