-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected token readed 'BeginArray' while 'BeginObject' is expected. #25
Comments
Hi @Mol0ko!
|
@deniszykov thanks for your answer. Here is an example of
|
He is problem, all your object are represented as tuples |
I have the same problem, I found that if I remove the attribute [DataContract] everything will work ok. |
@deniszykov could you please write the "write custom object serializer for tuples and register it in" you mention above :-) |
@BinhNguyenPSA sorry I have no plans to expand this package. I gladly accept PR with new object serializer. |
Hi. I am using masgpack along with Best Http/2 in Unity project to deserialize SignalR messages. I used this guide to set it.
I can't fix the following exception:
Here is my code for SignalR hub connection:
Here is response message model:
Without
_connection.On<StepResponseMessage>
call I get the following message tomessage _connection.OnMessage
callback:I am sure that StepResponseMessage corresponds to the messagepack object from arguments.
I am using v2.4.3 from asset store.
Could you help me with it? Am I do something wrong? Thanks.
The text was updated successfully, but these errors were encountered: