StrongTypedId.NewtonSoft 1.6.6

dotnet add package StrongTypedId.NewtonSoft --version 1.6.6
NuGet\Install-Package StrongTypedId.NewtonSoft -Version 1.6.6
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="StrongTypedId.NewtonSoft" Version="1.6.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StrongTypedId.NewtonSoft --version 1.6.6
#r "nuget: StrongTypedId.NewtonSoft, 1.6.6"
#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 StrongTypedId.NewtonSoft as a Cake Addin
#addin nuget:?package=StrongTypedId.NewtonSoft&version=1.6.6

// Install StrongTypedId.NewtonSoft as a Cake Tool
#tool nuget:?package=StrongTypedId.NewtonSoft&version=1.6.6

StrongTypedId.NewtonSoft

This package provides support for using StrongTypedId with the NewtonSoft JSON serializer.

Usage

Add a NewtonSoft.Json.JsonConverter similarly to the built-in converters:

[TypeConverter(typeof(StrongTypedIdTypeConverter<UserId, Guid>))]
[StrongTypedIdJsonConverter<UserId, Guid>]
[Newtonsoft.Json.JsonConverter(typeof(NewtonSoftJsonConverter<UserId, Guid>))]
public class UserId: StrongTypedId<UserId, Guid>
{
	public UserId(Guid value) : base(value)
	{
	}
}

Notice how you can have both JsonConverters applied simultaneously to support both WebAPI and NewtonSoft at the same time.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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.6.6 2,715 2/9/2024
1.6.5 280 2/5/2024
1.6.4 134 1/31/2024
1.6.3 673 1/8/2024
1.6.2 5,618 10/10/2023
1.6.1 356 9/8/2023
1.6.0 151 7/18/2023
1.5.1 176 7/15/2023
1.5.0 186 7/15/2023
1.4.3 151 7/11/2023
1.4.2 155 7/11/2023
1.4.1 154 7/11/2023
1.4.0 155 7/10/2023
1.3.0 161 5/21/2023
1.2.0 309 1/21/2023
1.1.5 1,306 8/5/2022
1.1.4 1,309 7/10/2022
1.1.3 406 7/10/2022
1.1.2 400 5/12/2022
1.1.1 390 3/12/2022