Class DateTimeConverterUsingDateTimeParse
Class DateTimeConverterUsingDateTimeParse.
Implements the
Inheritance
System.Object
DateTimeConverterUsingDateTimeParse
Namespace: Radzen
Assembly: Radzen.Blazor.dll
Syntax
public class DateTimeConverterUsingDateTimeParse : JsonConverter<DateTime>
Methods
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Reads the specified reader.
Declaration
public override DateTime Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
Utf8JsonReader | reader | The reader. |
Type | typeToConvert | The type to convert. |
JsonSerializerOptions | options | The options. |
Returns
Type | Description |
---|---|
DateTime | DateTime. |
Write(Utf8JsonWriter, DateTime, JsonSerializerOptions)
Writes the specified writer.
Declaration
public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
Utf8JsonWriter | writer | The writer. |
DateTime | value | The value. |
JsonSerializerOptions | options | The options. |