I have code to decode Data to an array of Date object:
Data
let decoded = try JSONDecoder().decode([Date].self, from: data)
How can I