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