Table of Contents

Write Method

Definition

Write(Utf8JsonWriter, Exception, JsonSerializerOptions)

Writes the value as JSON.

public override void Write(Utf8JsonWriter writer, Exception value, JsonSerializerOptions options)

Parameters

writer Utf8JsonWriter

The Utf8JsonWriter to write to.

value Exception

The value to convert.

options JsonSerializerOptions

The JsonSerializerOptions being used.