Skip to content

DefaultValueJsonDocument.GetArrayIndexElement Method

Definition

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

Overloads

Method Description
GetArrayIndexElement(int, int)
GetArrayIndexElement(int, int, IMutableJsonDocument, int)
GetArrayIndexElement(int, int)

GetArrayIndexElement(int, int)

Source: DefaultValueJsonDocument.cs

public JsonElement.Mutable GetArrayIndexElement(int currentIndex, int arrayIndex)

Parameters

Name Type Description
currentIndex int
arrayIndex int

Returns

JsonElement.Mutable

Implements

IMutableJsonDocument.GetArrayIndexElement

IJsonDocument.GetArrayIndexElement

IJsonDocument.GetArrayIndexElement

Applies To

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

GetArrayIndexElement(int, int, IMutableJsonDocument, int)

Source: DefaultValueJsonDocument.cs

public void GetArrayIndexElement(int currentIndex, int arrayIndex, out IMutableJsonDocument parentDocument, out int parentDocumentIndex)

Parameters

Name Type Description
currentIndex int
arrayIndex int
parentDocument IMutableJsonDocument
parentDocumentIndex int

Implements

IMutableJsonDocument.GetArrayIndexElement

Applies To

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

GetArrayIndexElement(int, int)

Source: DefaultValueJsonDocument.cs

public TElement GetArrayIndexElement<TElement>(int currentIndex, int arrayIndex)
    where TElement : struct, IJsonElement<TElement>

Parameters

Name Type Description
currentIndex int
arrayIndex int

Returns

TElement

Implements

IMutableJsonDocument.GetArrayIndexElement

IJsonDocument.GetArrayIndexElement

IJsonDocument.GetArrayIndexElement

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