Show / Hide Table of Contents

Class ResourceQuantityJsonConverter

Inheritance
object
JsonConverter
JsonConverter<ResourceQuantity>
ResourceQuantityJsonConverter
Inherited Members
JsonConverter<ResourceQuantity>.CanConvert(Type)
JsonConverter<ResourceQuantity>.ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)
JsonConverter<ResourceQuantity>.WriteAsPropertyName(Utf8JsonWriter, ResourceQuantity, JsonSerializerOptions)
JsonConverter<ResourceQuantity>.HandleNull
JsonConverter<ResourceQuantity>.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 ResourceQuantityJsonConverter : JsonConverter<ResourceQuantity>

Constructors

View Source

ResourceQuantityJsonConverter()

Declaration
public ResourceQuantityJsonConverter()

Methods

View Source

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

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

Write(Utf8JsonWriter, ResourceQuantity, JsonSerializerOptions)

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