I've come across a bit of a problem. I want to convert a steam game name to its corresponding steam app id via the steamapi. I'm trying to figure out how to get the entirety of a object from a value it contains (
{"applist":{"apps":[{"appid":230410,"name":"Warframe"}, {"appid":25300,"name":"Call of Duty"}, {"appid":292410,"name":"Team Fortress 2"}]}}
for example. the name here is Warframe. but I want to grab the entirety of this object just by the "name" value. I've been looking for an answer for awhile. any help would be appreciated
I tried deserializing the response to a class. but this seemed to be useless since all objects contain the same value name just with different titles
Array.Find(),List.Find()andEnumerable.First()for examples of how to single value in a collection based on one of its properties