NamespaceSystemLibrary.Common.Net
Date json converter converts a DateTime to 'yyyy-MM-dd'
Useful when you just need the date, ignoring time, by adding this to the datetime property through [JsonConverter] attribute
DateJsonConverter
public class DateJsonConverter : JsonConverter<DateTime>
Inheritance
System.Object
System.Text.Json.Serialization.JsonConverter
System.Text.Json.Serialization.JsonConverter<System.DateTime>
DateJsonConverter
Inherited Members
System.Text.Json.Serialization.JsonConverter<System.DateTime>.CanConvert(System.Type)
System.Text.Json.Serialization.JsonConverter<System.DateTime>.ReadAsPropertyName(System.Text.Json.Utf8JsonReader, System.Type, System.Text.Json.JsonSerializerOptions)
System.Text.Json.Serialization.JsonConverter<System.DateTime>.WriteAsPropertyName(System.Text.Json.Utf8JsonWriter, System.DateTime, System.Text.Json.JsonSerializerOptions)
System.Text.Json.Serialization.JsonConverter<System.DateTime>.HandleNull
System.Text.Json.Serialization.JsonConverter<System.DateTime>.Type
Constructors
Methods
Overrides
System.Text.Json.Serialization.JsonConverter<System.DateTime>.Read(System.Text.Json.Utf8JsonReader, System.Type, System.Text.Json.JsonSerializerOptions)
Overrides
System.Text.Json.Serialization.JsonConverter<System.DateTime>.Write(System.Text.Json.Utf8JsonWriter, System.DateTime, System.Text.Json.JsonSerializerOptions)
Extension Methods
}