Share via


SpeechToTextResponseUpdateKind.Converter Class

Definition

Provides a JsonConverter<T> for serializing SpeechToTextResponseUpdateKind instances.

public: ref class SpeechToTextResponseUpdateKind::Converter sealed : System::Text::Json::Serialization::JsonConverter<Microsoft::Extensions::AI::SpeechToTextResponseUpdateKind>
public sealed class SpeechToTextResponseUpdateKind.Converter : System.Text.Json.Serialization.JsonConverter<Microsoft.Extensions.AI.SpeechToTextResponseUpdateKind>
type SpeechToTextResponseUpdateKind.Converter = class
    inherit JsonConverter<SpeechToTextResponseUpdateKind>
Public NotInheritable Class SpeechToTextResponseUpdateKind.Converter
Inherits JsonConverter(Of SpeechToTextResponseUpdateKind)
Inheritance
SpeechToTextResponseUpdateKind.Converter

Constructors

SpeechToTextResponseUpdateKind.Converter()

Properties

HandleNull

Gets a value that indicates whether null should be passed to the converter on serialization, and whether Null should be passed on deserialization.

(Inherited from JsonConverter<T>)
Type

Gets the type being converted by the current converter instance.

(Inherited from JsonConverter<T>)

Methods

CanConvert(Type)

Determines whether the specified type can be converted.

(Inherited from JsonConverter<T>)
Read(Utf8JsonReader, Type, JsonSerializerOptions)

Reads and converts the JSON to type T.

ReadAsPropertyName(Utf8JsonReader, Type, JsonSerializerOptions)

Reads a dictionary key from a JSON property name.

(Inherited from JsonConverter<T>)
Write(Utf8JsonWriter, SpeechToTextResponseUpdateKind, JsonSerializerOptions)

Writes a specified value as JSON.

Write(Utf8JsonWriter, T, JsonSerializerOptions)

Writes a specified value as JSON.

(Inherited from JsonConverter<T>)
WriteAsPropertyName(Utf8JsonWriter, T, JsonSerializerOptions)

Writes a dictionary key as a JSON property name.

(Inherited from JsonConverter<T>)

Applies to