Arcturus.Extensions.Repository.Json 2026.8.27.364

dotnet add package Arcturus.Extensions.Repository.Json --version 2026.8.27.364
                    
NuGet\Install-Package Arcturus.Extensions.Repository.Json -Version 2026.8.27.364
                    
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="Arcturus.Extensions.Repository.Json" Version="2026.8.27.364" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Arcturus.Extensions.Repository.Json" Version="2026.8.27.364" />
                    
Directory.Packages.props
<PackageReference Include="Arcturus.Extensions.Repository.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 Arcturus.Extensions.Repository.Json --version 2026.8.27.364
                    
#r "nuget: Arcturus.Extensions.Repository.Json, 2026.8.27.364"
                    
#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 Arcturus.Extensions.Repository.Json@2026.8.27.364
                    
#: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=Arcturus.Extensions.Repository.Json&version=2026.8.27.364
                    
Install as a Cake Addin
#tool nuget:?package=Arcturus.Extensions.Repository.Json&version=2026.8.27.364
                    
Install as a Cake Tool

Arcturus.Extensions.Repository.Json

NuGet NuGet


Arcturus.Extensions.Repository.Json is a .NET library that makes it easy to persist complex JSON-based values in Entity Framework Core. It provides extension methods for configuring properties, read-only collections, and custom conversions so owned objects, nested DTOs, and JSON document-like data can be stored in relational database columns without losing strong typing in the application model.

Installation

Install the package via NuGet Package Manager or the .NET CLI:

dotnet add package Arcturus.Extensions.Repository.Json

Or, using the Package Manager Console:

Install-Package Arcturus.Extensions.Repository.Json

Prerequisites

  • .NET SDK 10 or later
  • Entity Framework Core relational providers that support JSON or jsonb columns

Features

  • JSON Property Mapping: Serialize and deserialize complex object properties directly to and from database columns.
  • Read-Only Collection Support: Store IReadOnlyCollection<T> values as JSON while keeping a clean domain model.
  • Custom Conversion Helpers: Configure entity properties with custom conversion logic for non-standard types.
  • EF Core Integration: Works with EntityTypeBuilder configuration to keep repository mappings simple and reusable.
  • Serializer Configuration: Centralize System.Text.Json options for consistent serialization behavior across the application.
  • Modern .NET Support: Designed for current .NET and EF Core versions with strong type safety.

Example

modelBuilder.Entity<Order>(builder =>
{
    builder.PropertyJsonProperty(x => x.Metadata, "metadata");
    builder.PropertyReadOnlyJsonCollection(x => x.Tags, "tags");
});

services.ConfigureEFCorePropertyJsonOptions(options =>
{
    options.PropertyNamingPolicy = JsonNamingPolicy.CamelCase;
});

Documentation

For detailed documentation, visit Arcturus Wiki.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

If you encounter issues or have questions, please file an issue on the GitHub Issues page.

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

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
2026.8.27.364 107 8/27/2026
2026.8.25.356 108 8/25/2026
2026.8.24.348 103 8/24/2026