Skip to content

JsonElementForBooleanFalseSchema.CreateDocument Method

Definition

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

Overloads

Method Description
CreateDocument(JsonWorkspace, int, int) Creates a JSON document containing the specified integer value.
CreateDocument(JsonWorkspace) Creates a JSON document from the current instance.

CreateDocument(JsonWorkspace, int, int)

Source: JsonElementForBooleanFalseSchema.cs

Creates a JSON document containing the specified integer value.

public static JsonDocumentBuilder<JsonElementForBooleanFalseSchema.Mutable> CreateDocument(JsonWorkspace workspace, int year, int initialCapacity)

Parameters

Name Type Description
workspace JsonWorkspace The JSON workspace to use for document creation.
year int The integer value to include in the document.
initialCapacity int The initial capacity for the document builder. (optional)

Returns

JsonDocumentBuilder<JsonElementForBooleanFalseSchema.Mutable>

A JSON document builder containing the specified value.

Applies To

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

CreateDocument(JsonWorkspace)

Source: JsonElementForBooleanFalseSchema.cs

Creates a JSON document from the current instance.

public JsonDocumentBuilder<JsonElementForBooleanFalseSchema.Mutable> CreateDocument(JsonWorkspace workspace)

Parameters

Name Type Description
workspace JsonWorkspace The JSON workspace to use for document creation.

Returns

JsonDocumentBuilder<JsonElementForBooleanFalseSchema.Mutable>

A JSON document builder containing the current 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