AoxeTech / Aoxe.Serialization

Provide an easy way to use Binary/DataContractSerializer/Jil/MessagePack/MsgPack/NewtonsoftJson/Utf8Json/Protobuf/SystemTextJson/Xml/ZeroFormatter
MIT License
17 stars 4 forks source link

Make STJ Conditional based on TFM #2

Closed thompson-tomo closed 6 months ago

thompson-tomo commented 6 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 when targeting net 6.

Describe alternatives you've considered Accept the additional dependency

Additional context n/a

Mutuduxf commented 6 months ago

Thank you. I have pushed the Zaabee.SystemTextJson 2024.1.8 package to Nuget and added a package reference condition to it.