ToolBX.JsonAdapter.Newtonsoft 1.0.0

dotnet add package ToolBX.JsonAdapter.Newtonsoft --version 1.0.0
NuGet\Install-Package ToolBX.JsonAdapter.Newtonsoft -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ToolBX.JsonAdapter.Newtonsoft" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ToolBX.JsonAdapter.Newtonsoft --version 1.0.0
#r "nuget: ToolBX.JsonAdapter.Newtonsoft, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ToolBX.JsonAdapter.Newtonsoft as a Cake Addin
#addin nuget:?package=ToolBX.JsonAdapter.Newtonsoft&version=1.0.0

// Install ToolBX.JsonAdapter.Newtonsoft as a Cake Tool
#tool nuget:?package=ToolBX.JsonAdapter.Newtonsoft&version=1.0.0

JsonAdapter

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

  1. Your end-project must reference only one JsonAdapter package
  2. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 207 7/19/2022