SerializerOptions
getset
public JsonSerializerOptions SerializerOptions Gets or sets the options which serialize request values and deserialize results. The default is a new instance of ASP.NET Core's Minimal API JSON options for each client:
System.Text.Json.JsonSerializerDefaults.Web, which serialize by reflection where the application allows it. 