Converting a JToken (or string) to a given Type
问题 TL;DR Version I have a object of type JToken (but can also be a string ) and I need to convert it into a Type contained in the type variable: Type type = typeof(DateTime); /* can be any other Type like string, ulong etc */ var obj = jsonObject["date_joined"]; /* contains 2012-08-13T06:01:23Z+05:00 */ var result = Some_Way_To_Convert(type, obj); The above result should be a DateTime object with the value given in date_joined . Full Story I'm using both RestSharp and Json.NET in a Windows Phone