Deserialize JSON to nested C# Classes
Your problem is twofold: You don’t have a class defined at the root level. The class structure needs to match the entire JSON, you can’t just deserialize from the middle. Whenever you have an object whose keys can change, you need to use a Dictionary<string, T>. A regular class won’t work for that; neither will … Read more