ResponseContinuationToken.Converter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a JsonConverter<T> for serializing ResponseContinuationToken instances.
public: ref class ResponseContinuationToken::Converter sealed : System::Text::Json::Serialization::JsonConverter<Microsoft::Extensions::AI::ResponseContinuationToken ^>
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001")]
public sealed class ResponseContinuationToken.Converter : System.Text.Json.Serialization.JsonConverter<Microsoft.Extensions.AI.ResponseContinuationToken>
public sealed class ResponseContinuationToken.Converter : System.Text.Json.Serialization.JsonConverter<Microsoft.Extensions.AI.ResponseContinuationToken>
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001")>]
type ResponseContinuationToken.Converter = class
inherit JsonConverter<ResponseContinuationToken>
type ResponseContinuationToken.Converter = class
inherit JsonConverter<ResponseContinuationToken>
Public NotInheritable Class ResponseContinuationToken.Converter
Inherits JsonConverter(Of ResponseContinuationToken)
- Inheritance
- Attributes
Constructors
| Name | Description |
|---|---|
| ResponseContinuationToken.Converter() | |
Properties
| Name | Description |
|---|---|
| HandleNull |
Gets a value that indicates whether |
| Type |
Gets the type being converted by the current converter instance. (Inherited from JsonConverter<T>) |
Methods
| Name | Description |
|---|---|
| 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 |
| ReadAsPropertyName(Utf8JsonReader, Type, JsonSerializerOptions) |
Reads a dictionary key from a JSON property name. (Inherited from JsonConverter<T>) |
| Write(Utf8JsonWriter, ResponseContinuationToken, 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>) |