Wei Chen
Wei Chen
> I think this may actually be a good extension to the Patch library. It could analyze the differences and generate JSON Patch documents that represent the transformation from one...
I think your example is merge patch (e.g. JSON Merge Patch) which is currently not supported. The patch document generated through diffing is equivalent to JSON Patch, which contains all...
> What's the best method to check arrays recursively (the way I want)? I think you've pretty much found the way. If you have a look at the [`JsonDiffOptions`](https://github.com/weichch/system-text-json-jsondiffpatch/blob/62deb286b7534f4054810f68ad8f5f55ffce974c/src/SystemTextJson.JsonDiffPatch/Diffs/JsonDiffOptions.cs), there...
> @weichch Are you still maintaining this package? Happy to take it over if not. Hi @matracey yes I’m still maintaining this package. I’m on holiday for a few weeks...
I cherry picked some of the changes in this PR into #43 as co-authored commit. Let's keep this PR open for addressing VS Code support if you wish. I also...
This was discussed in #38. Specifically in [this comment](https://github.com/weichch/system-text-json-jsondiffpatch/issues/38#issuecomment-1622729348). I was planning to do some work to add some support, but didn't have time since.
I don' think `DeepEquals` supports `SuppressDetectArrayMove` and ignoring element order. Can you switch to use `Diff`?
Array diff is a bit complex. The generated diff (in your case `d1` and `d2`) reflects the operations required to make `x` become `y`, or `x` become `z`. In your...
> would be nice to have an option that "properly" ignores array order. From JSON definition's perspective, the order of elements in an array shouldn't be ignored. In [RFC 7159](https://www.rfc-editor.org/rfc/rfc7159.html):...
If the approach is checking whether left contains right and then right contains left, then tracking the comparison result is going to improve the performance by avoiding comparing same set...