示例#1
0
        public static void Patch(object targetToPatch, JToken patchToApply, JsonSerializer s)
        {
            var patchedTarget = new JsonDiffPatch().Patch(ToJToken(targetToPatch, s), patchToApply);

            patchedTarget.PopulateInto(targetToPatch, s);
        }