JsonTimeZoneInfoConverter Class

System.Text.Json serializer converter helper class for unsupported TimeZoneInfo structure (see CollectionTimeZone).

Definition

Namespace: OpenDiscoverSDK.Interfaces.Settings
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2026.2.6.0 (2026.02.06)
C#
public class JsonTimeZoneInfoConverter : JsonConverter<TimeZoneInfo>
Inheritance
Object    JsonConverter    JsonConverterTimeZoneInfo    JsonTimeZoneInfoConverter

Constructors

JsonTimeZoneInfoConverterInitializes a new instance of the JsonTimeZoneInfoConverter class

Properties

HandleNullGets a value that indicates whether should be passed to the converter on serialization, and whether Null should be passed on deserialization.
(Inherited from JsonConverterTimeZoneInfo)
TypeGets the type being converted by the current converter instance.
(Inherited from JsonConverterTimeZoneInfo)

Methods

CanConvertDetermines whether the specified type can be converted.
(Inherited from JsonConverterTimeZoneInfo)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Read Reads and converts the JSON to type TimeZoneInfo.
(Overrides JsonConverterTRead(Utf8JsonReader, Type, JsonSerializerOptions))
ReadAsPropertyNameReads a dictionary key from a JSON property name.
(Inherited from JsonConverterTimeZoneInfo)
ToStringReturns a string that represents the current object.
(Inherited from Object)
Write Writes a TimeZoneInfo value as JSON.
(Overrides JsonConverterTWrite(Utf8JsonWriter, T, JsonSerializerOptions))
WriteAsPropertyNameWrites a dictionary key as a JSON property name.
(Inherited from JsonConverterTimeZoneInfo)

See Also