IMutableJsonDocument.OverwriteFromDocument Method
Definition
Namespace: Corvus.Text.Json.Internal
Assembly: Corvus.Text.Json.dll
Source: IMutableJsonDocument.cs
OverwriteFromDocument(int, int, int, int, IJsonDocument, int)
Overwrites a range with element rows from a source document, bypassing ComplexValueBuilder.
public abstract void OverwriteFromDocument(int complexObjectStartIndex, int startIndex, int endIndex, int memberCountToReplace, IJsonDocument sourceDocument, int sourceIndex)
Parameters
| Name | Type | Description |
|---|---|---|
complexObjectStartIndex |
int |
The start index of the complex object. |
startIndex |
int |
The start index of the range to overwrite. |
endIndex |
int |
The end index of the range to overwrite. |
memberCountToReplace |
int |
The number of members to replace. |
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