3 references to DateTimeConverter
System.Text.Json (3)
System\Text\Json\Nodes\JsonValue.CreateOverloads.cs (2)
65
public static JsonValue Create(DateTime value, JsonNodeOptions? options = null) => new JsonValuePrimitive<DateTime>(value, JsonMetadataServices.
DateTimeConverter
, options);
73
public static JsonValue? Create(DateTime? value, JsonNodeOptions? options = null) => value.HasValue ? new JsonValuePrimitive<DateTime>(value.Value, JsonMetadataServices.
DateTimeConverter
, options) : null;
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Converters.cs (1)
52
Add(JsonMetadataServices.
DateTimeConverter
);