Skip to content

DefaultValueJsonDocument.TryGetString Method

Definition

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

TryGetString(int, JsonTokenType, string?)

public bool TryGetString(int index, JsonTokenType expectedType, out string? result)

Parameters

Name Type Description
index int
expectedType JsonTokenType
result string?

Returns

bool

Implements

IJsonDocument.TryGetString

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