msgpack Questions

1

Solved

So I am using boost::beast as a WebSocket server. I would like to receive a binary message and parse it using nlohmann::json. However I get an error message: none of the 3 overloads can convert par...
Trenton asked 19/8, 2021 at 13:46

1

I am trying to use MessagePack to serialize an object that has a property of an interface type. When I call Pack, it throws SerializationException that says a serializer is not defined for the inte...
Underwear asked 29/9, 2013 at 17:21

4

Solved

msgpack seems to be an extremely fast, if extremely new format for data serialisation. Does it have a recognised MIME type yet? If not, what should be used in the interim?
Serious asked 31/7, 2011 at 10:31

0

I've been searching and I can't seem to find anything. Not sure if anyone knows of an easy way to see MsgPack requests and responses in the network tab?
Conductance asked 1/5, 2020 at 12:42

2

Solved

When serializing and deserializing values between JavaScript and C# using SignalR with MessagePack I am seeing a bit of precision loss in C# on the receiving end. As an example I am sending the va...
Meloniemelony asked 27/3, 2020 at 18:42

3

Solved

I am having issues with msgpack in python. It seems that when serialising a dict, if the keys are strings str, they are not unserialised properly and causing KeyError exceptions to be raised. Exam...
Marinna asked 18/1, 2018 at 11:13

1

Solved

I have an angular application that uses signalR. It is hosted in a .NET core 3.1 application. Since upgrading to Angular 9, signalR no longer works. Everything was working fine in Angular 8. Since ...
Nila asked 22/2, 2020 at 21:34

6

Solved

Requirement : Python objects with 2-3 levels of nesting containing basic datypes like integers,strings, lists, and dicts. ( no dates etc), needs to be stored as json in redis against a key. What ar...
Lief asked 20/3, 2013 at 14:6

1

Solved

I'm trying to use MessagePack to save multiple lists of structs because I read that its performance is better than BinaryFormatter serialization. What I want to do is to receive real-time time ser...
Calaboose asked 9/11, 2019 at 14:29

6

Solved

Recently I've found MessagePack, an alternative binary serialization format to Google's Protocol Buffers and JSON which also outperforms both. Also there's the BSON serialization format that is use...
Opposable asked 15/6, 2011 at 9:14

1

Consider this simple example import pandas as pd mydata = pd.DataFrame({'mytime': [pd.to_datetime('2018-01-01 10:00:00.513'), pd.to_datetime('2018-01-03 10:00:00.513')], 'myvariable': [1,2], '...
Vernal asked 8/4, 2019 at 17:4

5

I'm having a problem trying to install plotly. I proceeded to upgrade anaconda using the command line on Debian 9 and I received the error message "distributed 1.21.0 requires msgpack, which is not...
Pelion asked 26/6, 2018 at 19:36

2

Solved

I am working on a data system that needs to store large amounts of simple, extensible data (alongside some specialist indexing we are developing in-house, and not part of this question). I expect t...
Haik asked 5/9, 2018 at 10:21

1

I want to use the MessagePack, ZeroFormatter or protobuf-net to serialize/deserialize a generic list and store it in Redis using the stackexchange.redis client. Now I'm storing a JSON string with ...
Taliataliaferro asked 6/6, 2018 at 8:38

1

why does this happen in python3? 1) I get msgpack data from redis 2) I unpack I get the below 3) The returned type is a dict: meta = msgpack.unpackb(data[1]) print(type(meta)) <class 'dict'...
Posada asked 26/10, 2017 at 17:28

3

Solved

I need a fast way to send 300 short messages a second over zeromq between the python multiprocessing processes. Each message needs to contain an ID and time.time() msgpack seems like the best way ...
Him asked 18/5, 2015 at 21:39

4

I am making use of C++ msgpack implementation. I have hit a roadblock as to how to pack binary data. In terms of binary data I have a buffer of the following type: unsigned char* data; The data ...
Fame asked 27/7, 2012 at 19:47

1

We have an application that communicate with backend via WS. We encode all messages with msgpack-lite, library specification said that it supports IE10. In all modern browsers like Chrome, Firefox,...
Countrified asked 18/5, 2017 at 12:7

4

Solved

Has someone tried to use MessagePack with an Android app? Is it possible? I have tried to use the Jar from msgpack-java and received the following Exception: Caused by: java.lang.ExceptionInInitia...
Smedley asked 23/9, 2011 at 13:14

1

Solved

How do I serialize / deserialize a dictionary data with msgpack?
Afore asked 16/4, 2017 at 21:11

2

Solved

I have seen references to 'zone' in the MsgPack C headers, but can find no documentation on what it is or what it's for. What is it? Furthermore, where's the function-by-function documentation for ...
Cartan asked 16/10, 2012 at 18:37

2

Solved

I am sending/receiving a custom class from a server to Android, the class is as; import org.msgpack.value.Value; public class myClass { public String status; public Value data; } The problem...
Acton asked 16/12, 2015 at 16:13

2

Solved

I just installed node-msgpack and tested it against native JSON. MessagePack is much slower. Anyone know why? Using the authors' own benchmark... node ~/node_modules/msgpack/bench.js msgpack pa...
Ahmad asked 8/1, 2013 at 21:34

1

Solved

msgpack in Pandas is supposed to be a replacement for pickle. Per the Pandas docs on msgpack: This is a lightweight portable binary format, similar to binary JSON, that is highly space efficie...
Chas asked 4/6, 2015 at 18:43

3

Solved

The following sample does not compile, complaining that In file included from /usr/include/msgpack.hpp:18: /usr/include/msgpack/object.hpp:211:3: error: member reference base type 'logd::log_level...
Aroma asked 22/11, 2013 at 21:30

© 2022 - 2024 — McMap. All rights reserved.