Show / Hide Table of Contents

Class KubernetesJson.KubernetesDateTimeConverter

Inheritance
object
JsonConverter
JsonConverter<DateTime>
KubernetesJson.KubernetesDateTimeConverter
Inherited Members
JsonConverter<DateTime>.CanConvert(Type)
JsonConverter<DateTime>.ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)
JsonConverter<DateTime>.WriteAsPropertyName(Utf8JsonWriter, DateTime, JsonSerializerOptions)
JsonConverter<DateTime>.HandleNull
JsonConverter<DateTime>.Type
object.GetType()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: k8s
Assembly: KubernetesClient.dll
Syntax
public sealed class KubernetesJson.KubernetesDateTimeConverter : JsonConverter<DateTime>

Constructors

View Source

KubernetesDateTimeConverter()

Declaration
public KubernetesDateTimeConverter()

Methods

View Source

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Declaration
public override DateTime Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonReader reader
Type typeToConvert
JsonSerializerOptions options
Returns
Type Description
DateTime
Overrides
JsonConverter<DateTime>.Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
View Source

Write(Utf8JsonWriter, DateTime, JsonSerializerOptions)

Declaration
public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonWriter writer
DateTime value
JsonSerializerOptions options
Overrides
JsonConverter<DateTime>.Write(Utf8JsonWriter, DateTime, JsonSerializerOptions)
  • View Source
In this article
Back to top Generated by DocFX