JsonWorkspace.Create Method
Definition
Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll
Source: JsonWorkspace.cs
Create(int, Nullable<JsonWriterOptions>)
Creates an instance of a JsonWorkspace.
public static JsonWorkspace Create(int initialDocumentCapacity, Nullable<JsonWriterOptions> options)
Parameters
| Name | Type | Description |
|---|---|---|
initialDocumentCapacity |
int |
The initial document capacity for the workspace. (optional) |
options |
Nullable<JsonWriterOptions> |
The ambient JsonWriterOptions. (optional) |
Returns
The JsonWorkspace.
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