JsonDocument
Definition
Namespace: Corvus.Text.Json.Internal
Assembly: Corvus.Text.Json.dll
Source: JsonDocument.cs
Base class for JSON document implementations providing common functionality for parsing and accessing JSON data.
public abstract class JsonDocument
Inheritance
Object → JsonDocument
Properties
| Property | Type | Description |
|---|---|---|
| IsImmutable | bool |
Gets a value indicating whether the document is immutable. |
Methods
| Method | Description |
|---|---|
| Freeze() | Makes the document immutable. |
| StorePrebakedValue(ReadOnlySpan<byte>) | Stores a pre-baked dynamic value in the value buffer and returns its offset. The value must contain the complete encoded representation including the 4-byte header, as produced by the code generato... |
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