Skip to content

Utf8JsonWriter.WriteEndObject Method

Definition

Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll
Source: Utf8JsonWriter.cs

WriteEndObject()

Writes the end of a JSON object.

public void WriteEndObject()

Exceptions

Exception Description
InvalidOperationException Thrown if this would result in invalid JSON being written (while validation is enabled).

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