JsonPatch icon indicating copy to clipboard operation
JsonPatch copied to clipboard

Question: way to generate patch document from clr objects?

Open mortb opened this issue 7 years ago • 0 comments

Hi, do you know any way to generate JsonPatchDocuments from clr objects? I do updates in my backend and I'd like to log the delta, and jsonpatch seems to be a good format to do that. I'd like to do something like JsonPatchDocument delta = GenerateDelta(beforeUpdatesObj, afterUpdatesObj) if you get what I'm aiming at?

There doesn't seem to be such functionality in JsonPatch, but maybe you know of some other lib?

mortb avatar Apr 16 '18 13:04 mortb