Created
March 7, 2026 23:41
-
-
Save AnthonyGiretti/53be98af6e5c1bfc1e27fb31cd1f739a to your computer and use it in GitHub Desktop.
ASP.NET Core 10 introduces a native JsonPatch implementation built directly on top of System.Text.Json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Microsoft.AspNetCore.JsonPatch; | |
| using System.Text.Json; | |
| var patch = JsonSerializer.Deserialize<JsonPatchDocument<Product>>(patchJson); | |
| patch!.ApplyTo(product); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment