Skip to content

IJsonDocument.GetRawSimpleValue Method

Definition

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

Overloads

Method Description
GetRawSimpleValue(int, bool) Gets the raw simple value of the element at the specified index.
GetRawSimpleValue(int) Gets the raw simple value of the element at the specified index.

GetRawSimpleValue(int, bool)

Source: IJsonDocument.cs

Gets the raw simple value of the element at the specified index.

public abstract ReadOnlyMemory<byte> GetRawSimpleValue(int index, bool includeQuotes)

Parameters

Name Type Description
index int The index of the element.
includeQuotes bool Whether to include quotes in the raw value.

Returns

ReadOnlyMemory<byte>

The raw simple value.

Applies To

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

GetRawSimpleValue(int)

Source: IJsonDocument.cs

Gets the raw simple value of the element at the specified index.

public abstract ReadOnlyMemory<byte> GetRawSimpleValue(int index)

Parameters

Name Type Description
index int The index of the element.

Returns

ReadOnlyMemory<byte>

The raw simple value.

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