Skip to content

DefaultValueJsonDocument.GetString Method

Definition

Namespace: Corvus.Text.Json.Internal
Assembly: Corvus.Text.Json.dll
Source: DefaultValueJsonDocument.cs

GetString(int, JsonTokenType)

public string? GetString(int index, JsonTokenType expectedType)

Parameters

Name Type Description
index int
expectedType JsonTokenType

Returns

string?

Implements

IJsonDocument.GetString

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