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
<PackageReference Include="Arcturus.Extensions.Repository.Json" Version="2026.8.27.364" />
<PackageVersion Include="Arcturus.Extensions.Repository.Json" Version="2026.8.27.364" />
<PackageReference Include="Arcturus.Extensions.Repository.Json" />
paket add Arcturus.Extensions.Repository.Json --version 2026.8.27.364
#r "nuget: Arcturus.Extensions.Repository.Json, 2026.8.27.364"
#:package Arcturus.Extensions.Repository.Json@2026.8.27.364
#addin nuget:?package=Arcturus.Extensions.Repository.Json&version=2026.8.27.364
#tool nuget:?package=Arcturus.Extensions.Repository.Json&version=2026.8.27.364
Arcturus.Extensions.Repository.Json
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
jsonbcolumns
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
EntityTypeBuilderconfiguration to keep repository mappings simple and reusable. - Serializer Configuration: Centralize
System.Text.Jsonoptions 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 | 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
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.11)
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 |