Show / Hide Table of Contents

Class IntOrStringJsonConverter

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

Constructors

View Source

IntOrStringJsonConverter()

Declaration
public IntOrStringJsonConverter()

Methods

View Source

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

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

Write(Utf8JsonWriter, IntOrString, JsonSerializerOptions)

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