JsonDocument.TryGetRawAccess Method
Definition
Namespace: Corvus.Text.Json.Internal
Assembly: Corvus.Text.Json.dll
Source: JsonDocument.cs
TryGetRawAccess(RawDocumentAccess)
Tries to get direct access to the document's rows and UTF-8 text for documents whose rows are all local.
public virtual bool TryGetRawAccess(out RawDocumentAccess access)
Parameters
| Name | Type | Description |
|---|---|---|
access |
RawDocumentAccess |
The accessor, valid until the document is disposed or mutated. |
Returns
true if direct access is available for this document type.
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