Show / Hide Table of Contents

Class RangeJsonConverter

A Json converter for type Range

Inheritance
object
JsonConverter
JsonConverter<Range>
RangeJsonConverter
Inherited Members
JsonConverter<Range>.CanConvert(Type)
JsonConverter<Range>.ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)
JsonConverter<Range>.WriteAsPropertyName(Utf8JsonWriter, Range, JsonSerializerOptions)
JsonConverter<Range>.HandleNull
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Pulumi.Esc.Sdk.Model
Assembly: Pulumi.Esc.Sdk.dll
Syntax
public class RangeJsonConverter : JsonConverter<Range>

Methods

View Source

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Deserializes json to Range

Declaration
public override Range Read(ref Utf8JsonReader utf8JsonReader, Type typeToConvert, JsonSerializerOptions jsonSerializerOptions)
Parameters
Type Name Description
Utf8JsonReader utf8JsonReader
Type typeToConvert
JsonSerializerOptions jsonSerializerOptions
Returns
Type Description
Range
Overrides
JsonConverter<Range>.Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Exceptions
Type Condition
JsonException
View Source

Write(Utf8JsonWriter, Range, JsonSerializerOptions)

Serializes a Range

Declaration
public override void Write(Utf8JsonWriter writer, Range range, JsonSerializerOptions jsonSerializerOptions)
Parameters
Type Name Description
Utf8JsonWriter writer
Range range
JsonSerializerOptions jsonSerializerOptions
Overrides
JsonConverter<Range>.Write(Utf8JsonWriter, Range, JsonSerializerOptions)
Exceptions
Type Condition
NotImplementedException
View Source

WriteProperties(ref Utf8JsonWriter, Range, JsonSerializerOptions)

Serializes the properties of Range

Declaration
public void WriteProperties(ref Utf8JsonWriter writer, Range range, JsonSerializerOptions jsonSerializerOptions)
Parameters
Type Name Description
Utf8JsonWriter writer
Range range
JsonSerializerOptions jsonSerializerOptions
Exceptions
Type Condition
NotImplementedException

Version 0.13.1

  • View Source
Back to top Copyright 2016-2023, Pulumi Corporation.