akamsteeg / AtleX.HaveIBeenPwned

A fully async .NET Standard client library for the API of HaveIBeenPwned.com
https://www.nuget.org/packages/AtleX.HaveIBeenPwned/
MIT License
5 stars 0 forks source link

Use the framework's System.Text.Json when available #75

Closed akamsteeg closed 1 year ago

akamsteeg commented 1 year ago

In #72 a specific .NET 6.0 target was added to the library to support source generated JSON (de)serialization. That target also has a package dependency on System.Text.Json but it doesn't need it because the .NET 6.0 or higher framework supports it natively. We should only add a dependency on the System.Text.Json package for the netstandard2.0 target.