Deserializing json to anonymous object in c#
C# 4.0 adds dynamic objects that can be used. Have a look at this.
using dynamics is something like this:
string jsonString = "{\"dateStamp\":\"2010/01/01\", \"Message\": \"hello\" }";
dynamic myObject = JsonConvert.DeserializeObject<dynamic>(jsonString);
DateTime dateStamp = Convert.ToDateTime(myObject.dateStamp);
string Message = myObject.Message;