Language

AIJsonUtilities クラス

定義

JSON データをマーシャリングするためのユーティリティ メソッドのコレクションを提供します。

public ref class AIJsonUtilities abstract sealed
public static class AIJsonUtilities
type AIJsonUtilities = class
Public Module AIJsonUtilities
継承
AIJsonUtilities

プロパティ

Name 説明
DefaultOptions

JSON シリアル化操作の既定値として使用される JsonSerializerOptions シングルトンを取得します。

メソッド

Name 説明
AddAIContentType(JsonSerializerOptions, Type, String)

AIContentのポリモーフィックな構成にカスタム コンテンツ タイプを追加します。

AddAIContentType<TContent>(JsonSerializerOptions, String)

AIContentのポリモーフィックな構成にカスタム コンテンツ タイプを追加します。

CreateFunctionJsonSchema(MethodBase, String, String, JsonSerializerOptions, AIJsonSchemaCreateOptions)

指定されたメソッドの JSON スキーマを決定します。

CreateJsonSchema(Type, String, Boolean, Object, JsonSerializerOptions, AIJsonSchemaCreateOptions)

指定した型の JSON スキーマを作成します。

HashDataToString(ReadOnlySpan<Object>, JsonSerializerOptions)

指定された値をシリアル化し、結果の JSON の文字列ハッシュを計算します。

TransformSchema(JsonElement, AIJsonSchemaTransformOptions)

指定されたオプションに基づいて、指定された JSON スキーマを変換します。

適用対象