I have following JSON structure
{
"2019-03-27T21:00":23,
"2019-03-27T21:30":13,
"2019-03-27T21:48":20,
"2019-03-27T20:42":16
}
I would like to get this to a Typescript Map<Date, number>
I have tried declaring the map in my http call
this.http.get<Map<Date, number>>
Unfortunately this does not give me a map and calling response.values() is undefined on values()
How can I get my Json to a Map<Date, number>