AIJsonUtilities Class

Definition

Provides a collection of utility methods for marshalling JSON data.

public ref class AIJsonUtilities abstract sealed
public static class AIJsonUtilities
type AIJsonUtilities = class
Public Class AIJsonUtilities
Inheritance
AIJsonUtilities

Properties

DefaultOptions

Gets the JsonSerializerOptions singleton used as the default in JSON serialization operations.

Methods

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

Creates a JSON schema for the specified type.

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

Creates a JSON schema for the provided parameter metadata.

ResolveParameterJsonSchema(AIFunctionParameterMetadata, AIFunctionMetadata, JsonSerializerOptions, AIJsonSchemaCreateOptions)

Determines a JSON schema for the provided parameter metadata.

Applies to