ToolBX.JsonAdapter.Microsoft
1.0.0
dotnet add package ToolBX.JsonAdapter.Microsoft --version 1.0.0
NuGet\Install-Package ToolBX.JsonAdapter.Microsoft -Version 1.0.0
<PackageReference Include="ToolBX.JsonAdapter.Microsoft" Version="1.0.0" />
paket add ToolBX.JsonAdapter.Microsoft --version 1.0.0
#r "nuget: ToolBX.JsonAdapter.Microsoft, 1.0.0"
// Install ToolBX.JsonAdapter.Microsoft as a Cake Addin #addin nuget:?package=ToolBX.JsonAdapter.Microsoft&version=1.0.0 // Install ToolBX.JsonAdapter.Microsoft as a Cake Tool #tool nuget:?package=ToolBX.JsonAdapter.Microsoft&version=1.0.0
JsonAdapter
Isn't it annoying when third party code don't all use the same json library? What prompted me to create these small DLLs is because Microsoft recently decided that HttpClient was going to use its own System.Text.Json thus forcing everyone to follow suit. You could always add your own extensions which add support for more libraries yourself but you shouldn't have to have to do that if you ask me.
And this is why I created JsonAdapter. Moving forward, all ToolBX libraries that use Json will do so through JsonAdapter for all its Json needs which means that the choice of Json library is ultimately in the hands of the devs (that's you) using our code.
Setup
- Your end-project must reference only one JsonAdapter package
- If your project does not yet reference one (through dependencies or otherwise) then you have to reference one yourself
"There is no package for my Json libary of choice!"
Just open up an issue or a pull request and I'll look into it. You could also just do it yourself by creating your own service which implements IJsonAdapter.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net6.0
- ToolBX.AutoInject (>= 1.0.2)
- ToolBX.JsonAdapter (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 284 | 7/19/2022 |