AdCodicem.ValueObjects.Json 0.3.0-preview.425

Prefix Reserved
This is a prerelease version of AdCodicem.ValueObjects.Json.
There is a newer version of this package available.
See the version list below for details.
dotnet add package AdCodicem.ValueObjects.Json --version 0.3.0-preview.425
                    
NuGet\Install-Package AdCodicem.ValueObjects.Json -Version 0.3.0-preview.425
                    
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="AdCodicem.ValueObjects.Json" Version="0.3.0-preview.425" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AdCodicem.ValueObjects.Json" Version="0.3.0-preview.425" />
                    
Directory.Packages.props
<PackageReference Include="AdCodicem.ValueObjects.Json" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AdCodicem.ValueObjects.Json --version 0.3.0-preview.425
                    
#r "nuget: AdCodicem.ValueObjects.Json, 0.3.0-preview.425"
                    
#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.
#:package AdCodicem.ValueObjects.Json@0.3.0-preview.425
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AdCodicem.ValueObjects.Json&version=0.3.0-preview.425&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=AdCodicem.ValueObjects.Json&version=0.3.0-preview.425&prerelease
                    
Install as a Cake Tool

AdCodicem.ValueObjects.Json

System.Text.Json support for AdCodicem value objects: a converter factory that covers source-generated serializer contexts and hand-written value objects, JsonSerializerOptions extensions, and a transform that describes each value object in the JSON Schema System.Text.Json exports.

It is a package of AdCodicem.ValueObjects, single-value DDD value objects for .NET 10 and later: a readonly partial struct marked [ValueObject<T>] gets its whole implementation from a source generator, and crosses every boundary as its underlying type. It works with the main package, which holds the generator:

dotnet add package AdCodicem.ValueObjects
dotnet add package AdCodicem.ValueObjects.Json
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on AdCodicem.ValueObjects.Json:

Package Downloads
AdCodicem.ValueObjects.AspNetCore

ASP.NET Core support for AdCodicem value objects: MVC model binding straight from the underlying value, and RFC 9457 problem details carrying the violated rule.

AdCodicem.ValueObjects.AI

Microsoft.Extensions.AI support for AdCodicem value objects: tool and structured-output JSON schemas that carry each value object's rules, and a function wrapper that answers a rejected argument with its rule code, which the model can correct, instead of an exception it never sees. AOT-compatible.

AdCodicem.ValueObjects.Marten

Marten support for AdCodicem value objects: LINQ queries, duplicated fields and their columns over the underlying value, Contains and IsOneOf over value objects, a compiled query's collection of value objects bound on every call and a single one refused rather than answered with the value of its first call, the converter factory in the store's System.Text.Json serializer, and values a query projects read back through the rules with the rule's code.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.0 162 10/29/2026
0.3.0-preview.425 80 10/27/2026
0.3.0-preview.322 164 10/19/2026
0.3.0-preview.283 107 10/12/2026
0.3.0-preview.248 77 10/5/2026
0.3.0-preview.205 78 10/4/2026
0.3.0-preview.197 84 10/3/2026
0.2.2-preview.0.172 78 10/3/2026
0.2.2-preview.0.144 70 10/2/2026
0.2.2-preview.0.143 75 10/2/2026
0.2.2-preview.0.138 78 10/2/2026
0.2.2-preview.0.137 74 10/2/2026
0.2.2-preview.0.136 75 10/2/2026
0.2.2-preview.0.135 68 10/1/2026
0.2.2-preview.0.100 69 10/1/2026
0.2.2-preview.0.2 63 9/30/2026
0.2.2-preview.0.1 66 9/30/2026
0.2.1 276 9/30/2026
0.2.1-preview.0.12 70 9/30/2026
0.2.1-preview.0.11 76 9/30/2026
Loading failed