How would I create C# class to deserialize this?
{"result":{"appid":295110,"contextid":1,"items":{"Skin: Graffiti Hunting Rifle":11990}}}
With all the online converters the ":" after Skin messes it up.
How would I create C# class to deserialize this?
{"result":{"appid":295110,"contextid":1,"items":{"Skin: Graffiti Hunting Rifle":11990}}}
With all the online converters the ":" after Skin messes it up.
You can try using Json.NET
string result = "{'result':{'appid':295110,'contextid':1,'items':{'Skin: Graffiti Hunting Rifle':11990}}}";
var jsonData = JObject.Parse(result);
MessageBox.Show(jsonData["result"]["appid"].ToString());