I got this lists here (http://api.steampowered.com/ISteamApps/GetAppList/v0001/ or http://api.steampowered.com/ISteamApps/GetAppList/v2/) which contain App-ID's and the associated names. I don't know how to convert these strings to an array or something. I want to make a function which returns the Name of a given App-ID.
I tried everything.. How do I convert these right?
you can create a few C# classes to serve you when you deserialize the JSON data coming from your links. consider the following code:
now as you have some c# classes to map your JSON to, you only need to deserialize the incoming JSON data to the
RootObject
class, and then you will have your list so you can query it with your C# skills.example of how to deserialize JSON in C#
Note: I've created the classes using this website: http://json2csharp.com/