diff --git a/CryptoExchange.Net/Converters/SystemTextJson/SystemTextJsonMessageAccessor.cs b/CryptoExchange.Net/Converters/SystemTextJson/SystemTextJsonMessageAccessor.cs index 9c3ba7f..5e57192 100644 --- a/CryptoExchange.Net/Converters/SystemTextJson/SystemTextJsonMessageAccessor.cs +++ b/CryptoExchange.Net/Converters/SystemTextJson/SystemTextJsonMessageAccessor.cs @@ -126,7 +126,14 @@ namespace CryptoExchange.Net.Converters.SystemTextJson return default; if (value.Value.ValueKind == JsonValueKind.Object || value.Value.ValueKind == JsonValueKind.Array) + { + try + { + return value.Value.Deserialize(_serializerOptions); + } + catch { } return default; + } if (typeof(T) == typeof(string)) {