Table of Contents

Class Utf8JsonWriterExtensions

Namespace
Cuemon.Extensions.Text.Json
Assembly
Cuemon.Extensions.Text.Json.dll

Extension methods for the Utf8JsonWriter class.

public static class Utf8JsonWriterExtensions
Inheritance
Utf8JsonWriterExtensions

Methods

WriteObject(Utf8JsonWriter, Object, JsonSerializerOptions)

Serializes the specified value and writes the JSON structure using the specified writer.

public static void WriteObject(this Utf8JsonWriter writer, object value, JsonSerializerOptions options)

Parameters

writer Utf8JsonWriter

The Utf8JsonWriter used to write the JSON structure.

value Object

The Object to serialize.

options JsonSerializerOptions

Options to control the conversion behavior.