Skip to content

DefaultValueJsonDocument.TryGetNamedPropertyValueIndex Method

Definition

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

Overloads

Method Description
TryGetNamedPropertyValueIndex(int, ReadOnlySpan<char>, int)
TryGetNamedPropertyValueIndex(int, ReadOnlySpan<byte>, int)
TryGetNamedPropertyValueIndex(MetadataDb, int, int, ReadOnlySpan<byte>, int)

TryGetNamedPropertyValueIndex(int, ReadOnlySpan<char>, int)

Source: DefaultValueJsonDocument.cs

public bool TryGetNamedPropertyValueIndex(int index, ReadOnlySpan<char> propertyName, out int valueIndex)

Parameters

Name Type Description
index int
propertyName ReadOnlySpan<char>
valueIndex int

Returns

bool

Implements

IMutableJsonDocument.TryGetNamedPropertyValueIndex

Applies To

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

TryGetNamedPropertyValueIndex(int, ReadOnlySpan<byte>, int)

Source: DefaultValueJsonDocument.cs

public bool TryGetNamedPropertyValueIndex(int index, ReadOnlySpan<byte> propertyName, out int valueIndex)

Parameters

Name Type Description
index int
propertyName ReadOnlySpan<byte>
valueIndex int

Returns

bool

Implements

IMutableJsonDocument.TryGetNamedPropertyValueIndex

Applies To

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

TryGetNamedPropertyValueIndex(MetadataDb, int, int, ReadOnlySpan<byte>, int)

Source: DefaultValueJsonDocument.cs

public bool TryGetNamedPropertyValueIndex(ref MetadataDb parsedData, int startIndex, int endIndex, ReadOnlySpan<byte> propertyName, out int valueIndex)

Parameters

Name Type Description
parsedData MetadataDb
startIndex int
endIndex int
propertyName ReadOnlySpan<byte>
valueIndex int

Returns

bool

Implements

IMutableJsonDocument.TryGetNamedPropertyValueIndex

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