You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd suggest to use the SetDataInterpreter method to set a string interpreter method which transforms the data into valid json which can then best processed
Describe the bug
I'm trying to work with websocket data from bkex.com. I'm unable to handle their websocket response data with CryptoExchange.Net.
This is data that I am receiving:
It is being converted to a JToken, but fails and returns null:
https://github.com/JKorf/CryptoExchange.Net/blob/master/CryptoExchange.Net/Sockets/SocketConnection.cs#L449
It then goes into the backup flow, I assume to return it as a simple string.
https://github.com/JKorf/CryptoExchange.Net/blob/master/CryptoExchange.Net/Sockets/SocketConnection.cs#L450-L456
Tries to create a JToken of that:
tokenData = data.ToJToken(log);
That also fails with this error:
: 'Additional text encountered after finished reading JSON content: q. Path '', line 1, position 16.'
So the result is null and I'm unable to handle this message.
Any workaround for this? Or is it a bug that can be solved?
The text was updated successfully, but these errors were encountered: