Method Write
Write(Utf8JsonWriter, Nullable<DateTime>, JsonSerializerOptions)
Writes content through a JSON parser.
Declaration
public override void Write (System.Text.Json.Utf8JsonWriter writer, DateTime? value, System.Text.Json.JsonSerializerOptions options);
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Utf8JsonWriter | writer | Instance of System.Text.Json.Utf8JsonWriter that will be writing the JSON data. |
System.Nullable<System.DateTime> | value | Instance of System.DateTime containing the date and time to be written into JSON. |
System.Text.Json.JsonSerializerOptions | options | JSON serialization options. |