Show / Hide Table of Contents

Class TraceJsonConverter

A Json converter for type Trace

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

Methods

View Source

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Deserializes json to Trace

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

Write(Utf8JsonWriter, Trace, JsonSerializerOptions)

Serializes a Trace

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

WriteProperties(ref Utf8JsonWriter, Trace, JsonSerializerOptions)

Serializes the properties of Trace

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

Version 0.13.1

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