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