Class CommonJsonSerializerOptions
- Namespace
- FoundationaLLM.Common.Settings
- Assembly
- FoundationaLLM.Common.dll
JSON serializer settings for the API classes and their libraries.
public static class CommonJsonSerializerOptions
- Inheritance
-
CommonJsonSerializerOptions
- Inherited Members
Methods
GetJsonSerializerOptions()
Configures the System.Text.Json JSON serializer settings.
public static JsonSerializerOptions GetJsonSerializerOptions()
Returns
GetJsonSerializerOptions(Func<JsonSerializerOptions, JsonSerializerOptions>)
Configures the System.Text.Json JSON serializer settings.
public static JsonSerializerOptions GetJsonSerializerOptions(Func<JsonSerializerOptions, JsonSerializerOptions> customizer)
Parameters
customizer
Func<JsonSerializerOptions, JsonSerializerOptions>A function that customizes the default settings.