I am trying to consume a JSON API using Flurl
If I use .GetStringAsync()
the API returns as follows:
{} && {identifier:'ID', label:'As at 15-11-2018 6:25 PM',items:[...]}
However, when I try .GetJsonAsync<MyObj>()
the properties are all null
, I assume because of the {} &&
.
Is there any way to force Flurl to ignore this and use the actual JSON data, or do I have to use .GetStringAsync()
, manually remove the {} &&
and deserialize?