I'm deserializing a JSON string into an object. I can't use a Dictionary<string, string>
because the JSON inside is complex. I know about the Dictionary<string, dynamic>
, but I'm over the .NET 3.5 framework, so I can't use dynamic
.
So I ended up here:
object json = new JavaScriptSerializer().Deserialize<object>("myjson");
But I see no way to access json
without reflection. Any tips?