Open JCKodel opened 1 year ago
At server, the following structure is serialized:
new Dictionary<string, object> { { "string", "Hello" }, { "dateTime", DateTime.Now() }, };
On client, the response of that invocation is a Map<dynamic, dynamic> with:
Map<dynamic, dynamic>
{ "string": "Hello, "dateTime": null, }
The deserializer got a 0xd7 type, then a 0xff subtype (I guess -1 is considered 255), on this method:
0xd7
0xff
dynamic _readExt(int length) { final extType = _readUInt8(); final data = _readBuffer(length); return _extDecoder?.decodeObject(extType, data); }
At that time, _extDecoder was null, so null was returned.
_extDecoder
null
I also have this problem. But its, as you say, a problem in the messagepack repo.
At server, the following structure is serialized:
On client, the response of that invocation is a
Map<dynamic, dynamic>
with:The deserializer got a
0xd7
type, then a0xff
subtype (I guess -1 is considered 255), on this method:At that time,
_extDecoder
was null, sonull
was returned.