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.
|
if (jsonResponse.Error != null) |
|
{ |
|
writer.WritePropertyName("error"); writer.WriteRawValue(JsonConvert.SerializeObject(jsonResponse.Error)); |
|
} |
|
else |
|
{ |
|
writer.WritePropertyName("result"); writer.WriteRawValue(JsonConvert.SerializeObject(jsonResponse.Result)); |
|
} |
I think there is a bug in JsonRpcProcessor.ProcessSync() method since the serialization of the response of a request ignores completely the
settings(aJsonSerializerSettingsinstance) argument.JSON-RPC.NET/Json-Rpc/JsonRpcProcessor.cs
Lines 139 to 146 in 177be60