Skip to content

DefaultValueJsonDocument.TryReplacePropertyValue Method

Definition

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

TryReplacePropertyValue(int, ReadOnlySpan<byte>, JsonTokenType, int, int)

public bool TryReplacePropertyValue(int objectIndex, ReadOnlySpan<byte> propertyName, JsonTokenType tokenType, int location, int sizeOrLength)

Parameters

Name Type Description
objectIndex int
propertyName ReadOnlySpan<byte>
tokenType JsonTokenType
location int
sizeOrLength int

Returns

bool

Implements

IMutableJsonDocument.TryReplacePropertyValue

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