JSON-RPC.NET
JSON-RPC.NET copied to clipboard
JsonRpcProcessor ignores JsonSerializerSettings on response serialization
I think there is a bug in JsonRpcProcessor.ProcessSync() method since the serialization of the response of a request ignores completely the settings
(a JsonSerializerSettings
instance) argument.
https://github.com/Astn/JSON-RPC.NET/blob/177be604e532fe2c1e11fec9d4c8447138f7f741/Json-Rpc/JsonRpcProcessor.cs#L139-L146
++++
FIX https://www.newtonsoft.com/json/help/html/DefaultSettings.htm
FIX https://www.newtonsoft.com/json/help/html/DefaultSettings.htm
The problem is not with the default settings, the problem is that the code that was referenced in this issue ignores the argument settings
of JsonRpcProcessor.ProcessSync(...)
.
Merged