JsonElement.GetRawText Method
Definition
Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll
Source: JsonElement.cs
GetRawText()
Gets the original input data backing this value, returning it as a String.
public string GetRawText()
Returns
The original input data backing this value, returning it as a String.
Exceptions
| Exception | Description |
|---|---|
ObjectDisposedException |
The parent JsonDocument has been disposed. |
Remarks
Note that this method allocates.
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