Skip to content

IMutableJsonDocument.InsertSimpleValue Method

Definition

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

InsertSimpleValue(int, int, int, JsonTokenType, int, int)

Inserts a single simple value row directly into a complex object, bypassing ComplexValueBuilder.

public abstract void InsertSimpleValue(int complexObjectStartIndex, int targetIndex, int memberCount, JsonTokenType tokenType, int location, int sizeOrLength)

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.
tokenType JsonTokenType The token type of the value.
location int The value location in the document's backing store.
sizeOrLength int The size/length/unescaping flag for the value row.

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