Given the following json:
[ {\"id\":\"123\", ... \"data\":[{\"key1\":\"val1\"}, {\"key2\":\"val2\"}], ...}, ... ]
that is part of a bigger
Thanks @Boo for your answer but in my case I needed to take some small adjustements. This is how my JSON looks like:
{
"rates": {
"CAD": 1.5649,
"CZK": 26,118,
...
},
"base": "EUR",
"date": "2020-08-16"
}
And my DTO looks like the following:
public IDictionary Rates { get; set; }
public string Base { get; set; }
public DateTime Date { get; set; }
So the only adjustement was to remove the IEnumerable around the IDictionary.