WebApiSerializerConverterAddSystemTextJsonSerializerFormatter 方法
添加System.Text.Json序列化器
命名空间: TouchSocket.WebApi程序集: TouchSocket.WebApi (在 TouchSocket.WebApi.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
public void AddSystemTextJsonSerializerFormatter(
Action<JsonSerializerOptions> options
)
Public Sub AddSystemTextJsonSerializerFormatter (
options As Action(Of JsonSerializerOptions)
)
member AddSystemTextJsonSerializerFormatter :
options : Action<JsonSerializerOptions> -> unit
参数
- options ActionJsonSerializerOptions
- 配置JsonSerializerOptions的操作