public AutoMapper(JObject mapping) { _mappingFile = mapping.ToObject <JsonMapping>(); transform = new JsonTransformation(_mappingFile); }
public AutoMapper(string mapping) { _mappingFile = JsonConvert.DeserializeObject <JsonMapping>(mapping); transform = new JsonTransformation(_mappingFile); }