Skip to content

DefaultValueJsonDocument.TryReplacePropertyFromDocument Method

Definition

Namespace: Corvus.Text.Json.Internal
Assembly: Corvus.Text.Json.dll
Source: DefaultValueJsonDocument.cs

TryReplacePropertyFromDocument(int, ReadOnlySpan<byte>, IJsonDocument, int)

public bool TryReplacePropertyFromDocument(int objectIndex, ReadOnlySpan<byte> propertyName, IJsonDocument sourceDocument, int sourceIndex)

Parameters

Name Type Description
objectIndex int
propertyName ReadOnlySpan<byte>
sourceDocument IJsonDocument
sourceIndex int

Returns

bool

Implements

IMutableJsonDocument.TryReplacePropertyFromDocument

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