JsonPatch
JsonPatch copied to clipboard
Doesn't work with JObject
Hello! Can't make library work with JObject
dynamic source = JObject.Parse("{A:1}");
var diff = JsonConvert.DeserializeObject<JsonPatchDocument>("[{\"op\":\"replace\",\"path\":\"/A\",\"value\":2}]");
diff.ApplyTo(source);
throws Exception