I'm using a Newtonsoft's Json.NET for C#. Basically I'm trying to do a software which deserialize information from Riot's API. In example an items. I can't get it work. (I will post a source later, because right now I'm at work so.)
I want catch all information, but I get error: "object reference not set to an instance of an object" so I don't know what this means. Anyways I created a RootObject class for the basic storage information and under it there's a new class for basic information which contains fields for example "item id, name, description, gold, group etc etc" with get and set references, but none of the information will be storaged there successfully.
Basic data and stuff looks like this: http://ift.tt/1TJorxI
Can somebody help me how do format all of the classes that the Json.DeserializeObject<RootObject>(responseDataFromWebClient); works?
by Bad-Pastor via /r/csharp