Method Write
Write(Utf8JsonWriter, TimeSpan, JsonSerializerOptions)
Writes the TimeSpan data to a pre-defined writer.
Declaration
public override void Write (System.Text.Json.Utf8JsonWriter writer, TimeSpan value, System.Text.Json.JsonSerializerOptions options);
Parameters
| Type | Name | Description |
|---|---|---|
| System.Text.Json.Utf8JsonWriter | writer | JSON writer. |
| System.TimeSpan | value | Instance of System.TimeSpan that needs to be written. |
| System.Text.Json.JsonSerializerOptions | options | Additional writing options. |