Skip to content

IMutableJsonDocument.InsertFromDocument Method

Definition

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

InsertFromDocument(int, int, int, IJsonDocument, int)

Inserts element rows from a source document directly, bypassing ComplexValueBuilder.

public abstract void InsertFromDocument(int complexObjectStartIndex, int targetIndex, int memberCount, IJsonDocument sourceDocument, int sourceIndex)

Parameters

Name Type Description
complexObjectStartIndex int The start index of the complex object.
targetIndex int The index at which to insert.
memberCount int The number of members to insert.
sourceDocument IJsonDocument The source document containing the element.
sourceIndex int The index of the element in the source document.

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