Partager via


KernelJsonSchema.JsonConverter Class

Definition

Converter for reading/writing the schema.

public sealed class KernelJsonSchema.JsonConverter : System.Text.Json.Serialization.JsonConverter<Microsoft.SemanticKernel.KernelJsonSchema>
type KernelJsonSchema.JsonConverter = class
    inherit JsonConverter<KernelJsonSchema>
Public NotInheritable Class KernelJsonSchema.JsonConverter
Inherits JsonConverter(Of KernelJsonSchema)
Inheritance
KernelJsonSchema.JsonConverter

Constructors

KernelJsonSchema.JsonConverter()

Methods

Read(Utf8JsonReader, Type, JsonSerializerOptions)

Reads and converts the JSON to type T.

Write(Utf8JsonWriter, KernelJsonSchema, JsonSerializerOptions) System.Text.Json.Serialization.JsonConverter`1.Write(System.Text.Json.Utf8JsonWriter,Microsoft.SemanticKernel.KernelJsonSchema,System.Text.Json.JsonSerializerOptions)

Applies to