SuperStrong.Types.NewtonsoftJson
1.0.0-alpha.7
dotnet add package SuperStrong.Types.NewtonsoftJson --version 1.0.0-alpha.7
NuGet\Install-Package SuperStrong.Types.NewtonsoftJson -Version 1.0.0-alpha.7
<PackageReference Include="SuperStrong.Types.NewtonsoftJson" Version="1.0.0-alpha.7" />
<PackageVersion Include="SuperStrong.Types.NewtonsoftJson" Version="1.0.0-alpha.7" />
<PackageReference Include="SuperStrong.Types.NewtonsoftJson" />
paket add SuperStrong.Types.NewtonsoftJson --version 1.0.0-alpha.7
#r "nuget: SuperStrong.Types.NewtonsoftJson, 1.0.0-alpha.7"
#:package SuperStrong.Types.NewtonsoftJson@1.0.0-alpha.7
#addin nuget:?package=SuperStrong.Types.NewtonsoftJson&version=1.0.0-alpha.7&prerelease
#tool nuget:?package=SuperStrong.Types.NewtonsoftJson&version=1.0.0-alpha.7&prerelease
<div align="center">
<img src="https://superstrong.dev/img/logo.png" alt="SuperStrong.Types" width="160" />
SuperStrong.Types
Strong types for .NET — define once, use everywhere!
</div>
SuperStrong.Types is in alpha: the API and features are not in final shape yet.
What does this library do?
You write this:
[StrongType<Guid>]
public sealed partial class UserId;
You get auto-generated:
- wrapping:
_value,From(...),TryFrom(...),AsPrimitive(),IStrongType<,> - equality:
==,!=,Equals(...),GetHashCode(),IEquatable<>,IEqualityOperators<,,> - comparison:
<,<=,>,>=,IComparable<>,IComparisonOperators<,,> - formatting:
ToString(...),IFormattable,ISpanFormattable,IUtf8SpanFormattable - parsing:
IParsable<>,ISpanParsable<>,IUtf8SpanParsable<> - conversion:
IConvertible,TypeConverter,JsonConverter
You can easily integrate it with:
- ASP.NET Core
- EF Core
- Hot Chocolate
- Newtonsoft.Json
and more coming soon: OpenAPI, Dapper, MessagePack, ...
How to install?
Install the package from NuGet:
dotnet add package SuperStrong.Types
This library targets .NET 10, so your project should target .NET 10 or higher to be compatible with SuperStrong.Types.
Why use this library?
Fighting primitive obsession usually requires a lot of boilerplate.
SuperStrong.Types generates that boilerplate for you, so you can focus on modelling your domain instead of writing repetitive code.
What's next?
- Find out more in the tutorial
- Learn about strong type validation and customization
- Take a look at the available integrations
- Compare SuperStrong.Types with alternatives
- Do 10 push-ups, 10 pull-ups, and 10 squats
Acknowledgements
SuperStrong.Types is inspired by two excellent libraries:
- StronglyTypedId by Andrew Lock
- Vogen by Steve Dunn
Thanks to both authors for the ideas and groundwork.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Newtonsoft.Json (>= 13.0.4)
- SuperStrong.Types (>= 1.0.0-alpha.7)
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-alpha.7 | 0 | 6/20/2026 |
| 1.0.0-alpha.6 | 0 | 6/19/2026 |
| 1.0.0-alpha.5 | 0 | 6/19/2026 |
| 1.0.0-alpha.4 | 35 | 6/18/2026 |
| 1.0.0-alpha.3 | 40 | 6/16/2026 |
| 1.0.0-alpha.2 | 47 | 6/15/2026 |
| 1.0.0-alpha.1 | 47 | 6/14/2026 |