SystemTextJsonPatch 0.0.7
See the version list below for details.
dotnet add package SystemTextJsonPatch --version 0.0.7
NuGet\Install-Package SystemTextJsonPatch -Version 0.0.7
<PackageReference Include="SystemTextJsonPatch" Version="0.0.7" />
paket add SystemTextJsonPatch --version 0.0.7
#r "nuget: SystemTextJsonPatch, 0.0.7"
// Install SystemTextJsonPatch as a Cake Addin #addin nuget:?package=SystemTextJsonPatch&version=0.0.7 // Install SystemTextJsonPatch as a Cake Tool #tool nuget:?package=SystemTextJsonPatch&version=0.0.7
<a href="https://github.com/Havunen/SystemTextJsonPatch/actions/workflows/ci.yml"> <img src="https://img.shields.io/github/workflow/status/Havunen/SystemTextJsonPatch/CI?logo=GitHub" alt="CI status" /> </a> <a href="https://www.nuget.org/packages/SystemTextJsonPatch#readme-body-tab"> <img src="https://img.shields.io/nuget/v/SystemTextJsonPatch?color=teal&logo=Nuget" alt="CI status" /> </a>
SystemTextJsonPatch
SystemTextJsonPatch is a JSON Patch (JsonPatchDocument) RFC 6902 implementation for .NET using System.Text.Json
This library tries to ease the migration from Newtonsoft.Json to System.Text.Json by providing similar API for HttpPatch requests as in Microsoft.AspNetCore.JsonPatch and Marvin.JsonPatch
- Designed as an easy replacement for Microsoft.AspNetCore.JsonPatch
- Supports .NET 6.0+
Getting started
To enable JsonPatchDocument serialization support add SystemTextJsonPatch.Converters.JsonPatchDocumentConverterFactory to System.Text.Json serialization options converters. This is typically done in startup.cs file when configuring Asp.Net core MVC settings
public void ConfigureServices(IServiceCollection services)
{
services
.AddControllers()
.AddJsonOptions((options) =>
{
options.JsonSerializerOptions.Converters.Add(new SystemTextJsonPatch.Converters.JsonPatchDocumentConverterFactory());
});
}
or when using System.Text.Json.JsonSerializer directly with custom settings.
var jsonOptions = new JsonSerializerOptions()
{
Converters =
{
new SystemTextJsonPatch.Converters.JsonPatchDocumentConverterFactory()
}
};
var json = System.Text.Json.JsonSerializer.JsonSerializer.Serialize(incomingOperations, jsonOptions);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net6.0
- No dependencies.
NuGet packages (8)
Showing the top 5 NuGet packages that depend on SystemTextJsonPatch:
Package | Downloads |
---|---|
MediatR.CommandQuery
CQRS framework based on MediatR |
|
SurrealDb.Net
The official SurrealDB library for .NET |
|
Delobytes.AspNetCore.Swagger
Middlewares, MVC filters, extension methods and helper code for ASP.NET Core projects with Swagger (OpenAPI). |
|
Sparc.Blossom.Core
Blossom Core package |
|
SurrealDb.Reactive
Reactive Extensions for the SurrealDB library for .NET |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on SystemTextJsonPatch:
Repository | Stars |
---|---|
Azure/Bridge-To-Kubernetes
Bridge To Kubernetes (B2K) is development tool to debug microservices, pods which redirects traffic to your local development machine and vice versa.
|
|
surrealdb/surrealdb.net
SurrealDB SDK for .NET
|
Version | Downloads | Last updated |
---|---|---|
4.2.0 | 126 | 1/17/2025 |
4.1.0 | 14,256 | 11/15/2024 |
4.0.0 | 21,977 | 10/18/2024 |
3.3.0 | 195,024 | 10/5/2024 |
3.2.1 | 80,216 | 8/7/2024 |
3.2.0 | 65,468 | 5/30/2024 |
3.1.0 | 205,218 | 11/14/2023 |
3.0.1 | 70,968 | 8/21/2023 |
3.0.0 | 1,606 | 8/14/2023 |
2.0.2 | 18,496 | 7/16/2023 |
2.0.1 | 22,466 | 3/21/2023 |
2.0.0 | 277 | 3/21/2023 |
1.2.0 | 32,247 | 2/5/2023 |
1.1.0 | 9,714 | 1/18/2023 |
1.0.0 | 50,303 | 10/2/2022 |
0.0.9 | 7,210 | 9/11/2022 |
0.0.8 | 3,858 | 8/11/2022 |
0.0.7 | 2,977 | 6/17/2022 |
0.0.6 | 469 | 6/17/2022 |
0.0.5 | 2,317 | 5/24/2022 |
0.0.4 | 485 | 5/24/2022 |
0.0.3 | 481 | 5/23/2022 |
0.0.2 | 511 | 5/23/2022 |
0.0.1 | 1,118 | 5/19/2022 |