JsonRpcOptionUseSystemTextJsonFormatter(ActionJsonSerializerOptions) 方法
使用System.Text.Json序列化格式化器,并配置Json选项
命名空间: TouchSocket.JsonRpc程序集: TouchSocket.JsonRpc (在 TouchSocket.JsonRpc.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
public void UseSystemTextJsonFormatter(
Action<JsonSerializerOptions> configureOptions
)
Public Sub UseSystemTextJsonFormatter (
configureOptions As Action(Of JsonSerializerOptions)
)
member UseSystemTextJsonFormatter :
configureOptions : Action<JsonSerializerOptions> -> unit
参数
- configureOptions ActionJsonSerializerOptions
- 配置Json选项的操作