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
Hello , i use this library msgpack-lite to pack json value with my js script and send it to my c++ server , in my server side all message-packed are parsed/unpacked with nlohmann/json , But any message packed by msgpack-lite can't be correctly unpacked by nlohmann/json , meanwhile msgpack-lite can correctly unpack any nlohmann/json packed message .
To give you an example :
consider this nlohmann/json packed message : [130,163,77,83,71,178,104,101,108,108,111,32,102,114,111,109,32,110,111,100,101,46,106,115,167,85,83,69,82,85,73,68,217,36,101,53,102,51,56,101,53,55,45,56,57,100,57,45,52,50,48,49,45,98,48,101,52,45,100,57,55,52,98,54,48,52,101,97,55,100]
The same json values packed with msgpack-lite gives this : [130,167,85,83,69,82,85,73,68,217,36,101,53,102,51,56,101,53,55,45,56,57,100,57,45,52,50,48,49,45,98,48,101,52,45,100,57,55,52,98,54,48,52,101,97,55,100,163,77,83,71,178,104,101,108,108,111,32,102,114,111,109,32,110,111,100,101,46,106,115]
And this latter will not give me the correct unpacked values .
please is there any fix or suggestion to this .
thank you
The text was updated successfully, but these errors were encountered:
Hello , i use this library msgpack-lite to pack json value with my js script and send it to my c++ server , in my server side all message-packed are parsed/unpacked with nlohmann/json , But any message packed by msgpack-lite can't be correctly unpacked by nlohmann/json , meanwhile msgpack-lite can correctly unpack any nlohmann/json packed message .
To give you an example :
consider this nlohmann/json packed message :
[130,163,77,83,71,178,104,101,108,108,111,32,102,114,111,109,32,110,111,100,101,46,106,115,167,85,83,69,82,85,73,68,217,36,101,53,102,51,56,101,53,55,45,56,57,100,57,45,52,50,48,49,45,98,48,101,52,45,100,57,55,52,98,54,48,52,101,97,55,100]
The same json values packed with msgpack-lite gives this :
[130,167,85,83,69,82,85,73,68,217,36,101,53,102,51,56,101,53,55,45,56,57,100,57,45,52,50,48,49,45,98,48,101,52,45,100,57,55,52,98,54,48,52,101,97,55,100,163,77,83,71,178,104,101,108,108,111,32,102,114,111,109,32,110,111,100,101,46,106,115]
And this latter will not give me the correct unpacked values .
please is there any fix or suggestion to this .
thank you
The text was updated successfully, but these errors were encountered: