3 writes to SerializerOptions
Microsoft.Extensions.AI.Abstractions (2)
Functions\AIFunctionFactory.cs (2)
190
SerializerOptions
= serializerOptions,
366
SerializerOptions
= serializerOptions,
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
840
SerializerOptions
= JsonContext.Default.Options,
10 references to SerializerOptions
Microsoft.Extensions.AI.Abstractions (9)
Functions\AIFunctionFactory.cs (9)
89
/// or <see cref="JsonNode"/>, it is deserialized into the parameter type, utilizing <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided,
101
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided, or else using <see cref="AIJsonUtilities.DefaultOptions"/>.
252
/// or <see cref="JsonNode"/>, it is deserialized into the parameter type, utilizing <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided,
264
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided, or else using <see cref="AIJsonUtilities.DefaultOptions"/>.
388
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/>. Arguments that are not already of the expected type are
390
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/>. If the argument is a <see cref="JsonElement"/>,
438
/// or <see cref="JsonNode"/>, it is deserialized into the parameter type, utilizing <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided,
450
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided, or else using <see cref="AIJsonUtilities.DefaultOptions"/>.
642
JsonSerializerOptions serializerOptions = options.
SerializerOptions
?? AIJsonUtilities.DefaultOptions;
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
275
Assert.Null(options.
SerializerOptions
);