Skip to content

JsonPatchDocument.Mutable.Replace Method

Definition

Namespace: Corvus.Text.Json.Patch
Assembly: Corvus.Text.Json.dll

Replace(ref JsonPatchDocument.PatchOperation, ref JsonPatchDocument.PatchOperation.Source)

public bool Replace(ref JsonPatchDocument.PatchOperation oldItem, ref JsonPatchDocument.PatchOperation.Source newItem)

Parameters

Name Type Description
oldItem ref JsonPatchDocument.PatchOperation
newItem ref JsonPatchDocument.PatchOperation.Source

Returns

bool

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue