I am deserializing json data from an online api. The json can be deserialized using the following:
dynamic json = JsonConvert.DeserializeObject(jsonData);
Where jsonData is just a string containing the downloaded content. When I try and perform the following action however:
DataSet master = JsonConvert.DeserializeObject<DataSet>(jsonData);
I get the following error:
Additional text found in JSON string after finishing deserializing object.
I have verified the validity of the json using multiple online resources. What could be the problem?
The data I am trying to deserialize can be found here: api.hearthstonejson.com/v1/latest/enUS/cards.json