JsonPatch
JsonPatch copied to clipboard
Question: way to generate patch document from clr objects?
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?