If I have an array of JSON objects, how can I cast or assign the Report class to it?
console.log('jsonBody ' + jsonBody);
// Output: jsonBody [object Object],[object Object]
console.log('jsonBody ' + JSON.stringify(jsonBody));
// Output: jsonBody [{"created_at":"2016-02-04","updated_at":"2016-02-04 00:45:56.000"}, {"created_at":"2016-02-04","updated_at":"2016-02-04 00:45:56.000"}]
// TypeScript class
export class Report {
created_at!: Date;
updated_at!: Date;
}