Mapping flat JSON/Dictionary to model (containing sub classes)
I want to turn a flat json string into a model, the destination class has subclasses, and the flat json has all of the sub class objects with prefix; like "{classname}.{property}". { "FirstName": "Joey", "LastName": "Billy", "EmploymentDetails.JobTitle": "JobTitle", "EmploymentDetails.StartDate": "2015-01-01T00:00:00", "ContactDetails.HouseNumberName": "10", "ContactDetails.Road": "Road" } This is my destination class: public class Person { public string FirstName { get; set; } public string LastName { get; set; } public virtual EmploymentDetails EmploymentDetails { get;set;} public virtual