Skip to content

JsonElement.Mutable.TryReplaceProperty Method

Definition

Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll
Source: JsonElement.Mutable.cs

TryReplaceProperty(ReadOnlySpan<byte>, ref JsonElement.Source, int)

public bool TryReplaceProperty(ReadOnlySpan<byte> propertyName, ref JsonElement.Source source, int estimatedMemberCount)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte>
source ref JsonElement.Source
estimatedMemberCount int (optional)

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