Table of Contents

Write Method

Definition

Write(Utf8JsonWriter, DateTime, JsonSerializerOptions)

Write the value as JSON.

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

Parameters

writer Utf8JsonWriter

The Utf8JsonWriter to write to.

value DateTime

The value to convert.

options JsonSerializerOptions

The JsonSerializerOptions being used.