AIJsonUtilities 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 collection of utility methods for marshalling JSON data.
public ref class AIJsonUtilities abstract sealed
public static class AIJsonUtilities
type AIJsonUtilities = class
Public Module 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.