Looking for a way to do something like the following:
NewtonSoft.Json.JsonConvert.Populate<IMyContract>(jsonStr, currentObj);
where the json.net engine will only attempt to populate the properties identified in IMyContract.
Any suggestions?
source share