Skip to content

ValuelessJsonDocument<T>.ToString Method

Definition

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

ToString(int, string?, IFormatProvider?)

Returns the JSON text of the value.

public string ToString(int index, string? format, IFormatProvider? formatProvider)

Parameters

Name Type Description
index int The element index (always 0).
format string? The format (ignored).
formatProvider IFormatProvider? The format provider (ignored).

Returns

string

The JSON text.

Implements

IJsonDocument.ToString

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