Method Read
Read(Utf8JsonReader, Type, JsonSerializerOptions)
Read content from the JSON parser.
Declaration
public override DateTime? Read (ref System.Text.Json.Utf8JsonReader reader, Type typeToConvert, System.Text.Json.JsonSerializerOptions options);
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Utf8JsonReader | reader | Instance of System.Text.Json.Utf8JsonReader used to read the JSON content. |
System.Type | typeToConvert | JSON data to convert. |
System.Text.Json.JsonSerializerOptions | options | JSON serialization options. |
Returns
Type | Description |
---|---|
System.Nullable<System.DateTime> | If successful, returns an instance of System.DateTime containing the date and time. Otherwise, returns null. |