Show / Hide Table of Contents

Class EnvironmentDefinitionJsonConverter

A Json converter for type EnvironmentDefinition

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

Methods

View Source

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Deserializes json to EnvironmentDefinition

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

Write(Utf8JsonWriter, EnvironmentDefinition, JsonSerializerOptions)

Serializes a EnvironmentDefinition

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

WriteProperties(ref Utf8JsonWriter, EnvironmentDefinition, JsonSerializerOptions)

Serializes the properties of EnvironmentDefinition

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

Version 0.13.1

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