Monthly Archives: October 2009
Using JSON.Net to eval json into a dynamic variable in C#
So I thought this would be possible and finally decided to give it a shot in 2010 Beta 2. It turns a bunch of JSON into an ExpandoObject using JSON.Net. Needs cleaning up but not too bad. [TestMethod] public void DeserializeTestObjectToDynamic(){ TestObject testObject = new TestObject() { FirstName = “Peter”, [...]
6
Login