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
When I subscribe to a topic with the default JSON encoding and subscribe to a basic topic like /connected_clients, then fields of type time are correctly encoded, e.g. { "secs": 1577313146, "nsecs": 190 }.
However, when using the exact same code but using CBOR compression (compression: "cbor") I get this: { "115,101,99,115": 1577313146, "110,115,101,99,115": 190 }. Note that those numbers represent the ASCII values of "secs" and "nsecs".
The text was updated successfully, but these errors were encountered:
When I subscribe to a topic with the default JSON encoding and subscribe to a basic topic like
/connected_clients
, then fields of typetime
are correctly encoded, e.g.{ "secs": 1577313146, "nsecs": 190 }
.However, when using the exact same code but using CBOR compression (
compression: "cbor"
) I get this:{ "115,101,99,115": 1577313146, "110,115,101,99,115": 190 }
. Note that those numbers represent the ASCII values of "secs" and "nsecs".The text was updated successfully, but these errors were encountered: