Table of Contents

Class Error.MessageConverter

Namespace
OpenAI.ObjectModels.ResponseModels
Assembly
AntRunnerLib.dll
public class MessageConverter : JsonConverter<object>
Inheritance
System.Object
System.Text.Json.Serialization.JsonConverter
System.Text.Json.Serialization.JsonConverter<System.Object>
Error.MessageConverter
Inherited Members
System.Text.Json.Serialization.JsonConverter<System.Object>.CanConvert(System.Type)
System.Text.Json.Serialization.JsonConverter<System.Object>.Read(System.Text.Json.Utf8JsonReader, System.Type, System.Text.Json.JsonSerializerOptions)
System.Text.Json.Serialization.JsonConverter<System.Object>.ReadAsPropertyName(System.Text.Json.Utf8JsonReader, System.Type, System.Text.Json.JsonSerializerOptions)
System.Text.Json.Serialization.JsonConverter<System.Object>.WriteAsPropertyName(System.Text.Json.Utf8JsonWriter, System.Object, System.Text.Json.JsonSerializerOptions)
System.Text.Json.Serialization.JsonConverter<System.Object>.HandleNull
System.Text.Json.Serialization.JsonConverter<System.Object>.Type
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

public override object Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)

Parameters

reader System.Text.Json.Utf8JsonReader
typeToConvert Type
options System.Text.Json.JsonSerializerOptions

Returns

System.Object

Write(Utf8JsonWriter, Object, JsonSerializerOptions)

public override void Write(Utf8JsonWriter writer, object value, JsonSerializerOptions options)

Parameters

writer System.Text.Json.Utf8JsonWriter
value System.Object
options System.Text.Json.JsonSerializerOptions