Skip to content

JsonPointer.CreateBuilder Method

Definition

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

Overloads

Method Description
CreateBuilder(JsonWorkspace, ref JsonPointer.Source, int)
CreateBuilder(JsonWorkspace) Creates and initializes a mutable document from this instance.

CreateBuilder(JsonWorkspace, ref JsonPointer.Source, int)

public static JsonDocumentBuilder<JsonPointer.Mutable> CreateBuilder(JsonWorkspace workspace, ref JsonPointer.Source value, int initialCapacity)

Parameters

Name Type Description
workspace JsonWorkspace
value ref JsonPointer.Source
initialCapacity int (optional)

Returns

JsonDocumentBuilder<JsonPointer.Mutable>

Applies To

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

CreateBuilder(JsonWorkspace)

Creates and initializes a mutable document from this instance.

public JsonDocumentBuilder<JsonPointer.Mutable> CreateBuilder(JsonWorkspace workspace)

Parameters

Name Type Description
workspace JsonWorkspace The JSON workspace.

Returns

JsonDocumentBuilder<JsonPointer.Mutable>

An instance of a mutable document initialized with this instance.

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