weichch / system-text-json-jsondiffpatch

High-performance, low-allocating JSON object diff and patch extension for System.Text.Json. Support generating patch document in RFC 6902 JSON Patch format.
MIT License
102 stars 13 forks source link

Remove explicit STJ dependency for net 8 #46

Open thompson-tomo opened 5 months ago

thompson-tomo commented 5 months ago

Is your feature request related to a problem? Please describe. I want to minimise dependencies in my project by utilising framework dependencies wherever possible

Describe the solution you'd like I want the package to not have an explicit dependency on System.Text.Json as it can be provided by the framework.

Describe alternatives you've considered Accept the additional dependency

Additional context n/a

Numpsy commented 1 month ago

On a semi-related note, the version 8.0.0 System.Text.Json NuGet package that is currently being referenced is listed as suffering from https://github.com/advisories/GHSA-hh2w-p6rv-4g7w, and using the inbox version of System.Text.Json where possible might help to minimize that sort of issue.

thompson-tomo commented 1 month ago

@Numpsy Totally agree by leveraging framework dependencies where ever possible we can reduce effort on package maintainers while helping to make less vulnerable dotnet eco-system.