Can we have new and old values separated out separately without traversing the Diff elements one by one?
SubasishMohapatra opened this issue · comments
Subasish Mohapatra commented
Is there an easy way to split old and new values may be as a part of a property after "Diff"?
William Bishop commented
The diff output is standardized and meant to be compatible with benjamine/jsondiffpatch so changing that is a non starter.
I think you have two options:
- write your own diff output parser
- implement your own delta formatter, e.g: https://github.com/wbish/jsondiffpatch.net/blob/master/Src/JsonDiffPatchDotNet/Formatters/JsonPatch/JsonDeltaFormatter.cs