Show / Hide Table of Contents

Class ErrorJsonConverter

A Json converter for type Error

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

Methods

View Source

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Deserializes json to Error

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

Write(Utf8JsonWriter, Error, JsonSerializerOptions)

Serializes a Error

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

WriteProperties(ref Utf8JsonWriter, Error, JsonSerializerOptions)

Serializes the properties of Error

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

Version 0.13.1

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