Deserialize to ExpandoObject with Json.NET

added by tdupont
2/8/2014 7:29:26 PM

6 Kicks, 254 Views

Good news, everyone! Newtonsoft natively supports deserializing to an ExpandoObject! I absolutely love Json.NET, but what I do n0t like is calling the non-generic DeserializeObject method and then having to deal with JToken wrappers. While these objects can be useful, I almost always want to just work directly with the data...