JSON.NET deserialize JSON object stored as property
问题 I have a JSON message to deserialize with a string property containing the JSON of another object. I have the following classes public class Envelope { public string Type { get; set; } public Message InnerMessage { get; set; } } public class Message { public string From { get; set; } public string To { get; set; } public string Body { get; set; } } the JSON message I receive is in this format: { Type : "send", InnerMessage : "{ From: \"sender\", To: \"receiver\", Body: \"test\" }" } note that