IMutableJsonDocument.ReplaceRootAndDispose Method
Definition
Namespace: Corvus.Text.Json.Internal
Assembly: Corvus.Text.Json.dll
Source: IMutableJsonDocument.cs
ReplaceRootAndDispose(ref ComplexValueBuilder)
Replaces the root value of an already-initialized document, disposing the old value and the provided ComplexValueBuilder.
public abstract void ReplaceRootAndDispose(ref ComplexValueBuilder cvb)
Parameters
| Name | Type | Description |
|---|---|---|
cvb |
ref ComplexValueBuilder |
The ComplexValueBuilder containing the replacement root value. |
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