msgpack
msgpack copied to clipboard
msgpack.org[Go] MessagePack encoding for Golang
the following is my code, and output is ```bash === RUN TestMsgPack json len: 3474 msgpack len: 3831 base64 len: 5108 --- PASS: TestMsgPack (0.00s) PASS ``` ```go package traceinfo_lib...
Hello again… further to #264, Due to the way ["old" go get resolution](https://go.googlesource.com/go/+/d4e21288e444d3ffd30d1a0737f15ea3fc3b8ad9) works, The `v4` branch should be named `master` until `v5` is stable. Thanks, Jeff
v5 is apparently still in beta, but this is not said in the README. v5 is the default branch on GitHub (see #266), so v4 is not even advertised. The...
This could use an option to sort all map-like constructs including struct members. This would allow you to use this in combination with hashing and signature algorithms to reproducibly sign...
I want decode that c# encode data. in c# ,can use [key(index)] set fiald index,but not find this feature in this lib. again,merge change,add test,run exist test.
In trying to move from v4 to v5, I noticed that v5 checks for the implementation of `encoding.TextMarshaler`, and if present, encodes its output as bytes. Since `encoding.TextMarshaler` is intended...
When pasting the JSON below into the official message pack site, it shows a significant decrease in size https://msgpack.org/index.html `{"bar":"spam","foo":[{"spam":"ss","size":{"w":320,"h":480},"n":10,"c":1},{"spam":"ss","size":{"w":300,"h":250},"n":5,"c":1},{"spam":"ss","size":{"w":320,"h":50},"n":1,"c":1},{"spam":"v","size":{"w":-1,"h":-1},"n":20}],"l":10,"b":1}` However when using this package it always shows that the...
[Support for MarshalBinary](https://github.com/vmihailenco/msgpack/pull/243) only helpful when the user need to encode the value. But it lose all type information, then when they need to decode it back from bytes into...