JsonRpcOptionUseNewtonsoftJsonFormatter 方法
使用Newtonsoft.Json序列化格式化器,并配置Json设置
命名空间: TouchSocket.JsonRpc程序集: TouchSocket.JsonRpc (在 TouchSocket.JsonRpc.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
public void UseNewtonsoftJsonFormatter(
Action<JsonSerializerSettings> configureSettings = null
)
Public Sub UseNewtonsoftJsonFormatter (
Optional configureSettings As Action(Of JsonSerializerSettings) = Nothing
)
member UseNewtonsoftJsonFormatter :
?configureSettings : Action<JsonSerializerSettings>
(* Defaults:
let _configureSettings = defaultArg configureSettings null
*)
-> unit
参数
- configureSettings ActionJsonSerializerSettings (Optional)
- 配置Json设置的操作