Let say if I have a array of JSON object, how to cast or assign the class (Report class) to it?
console.log('jsonBody ' + jsonBody);
//print jsonBody [object Object],[object Object]
console.log('jsonBody ' + JSON.stringify(jsonBody));
//print 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;
}