Compartir a través de


AIJsonUtilities.DefaultOptions Property

Definition

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

public:
 static property System::Text::Json::JsonSerializerOptions ^ DefaultOptions { System::Text::Json::JsonSerializerOptions ^ get(); };
public static System.Text.Json.JsonSerializerOptions DefaultOptions { get; }
static member DefaultOptions : System.Text.Json.JsonSerializerOptions
Public ReadOnly Property DefaultOptions As JsonSerializerOptions

Property Value

Remarks

For Native AOT or applications disabling IsReflectionEnabledByDefault this instance includes source generated contracts for all common exchange types contained in the Microsoft.Extensions.AI.Abstractions library.

It additionally turns on the following settings:

Applies to