Registry / serialization / vmihailenco-msgpack

vmihailenco-msgpack

JSON →
library4.0.4+incompatiblegogounverified

MessagePack encoding and decoding library for Go.

go get github.com/vmihailenco/msgpack
INSTALL
IMPORT
SIG · VMIHAILENCO-MSGPAC
V
vmihailenco-msgpack
serializationgov4.0.4+incompatible
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

msgpack
github.com/vmihailenco/msgpack

Marshal and unmarshal a struct using MessagePack.

package main import ( "fmt" "github.com/vmihailenco/msgpack" ) type Item struct { Name string Price float64 } func main() { item := Item{Name: "apple", Price: 1.99} b, _ := msgpack.Marshal(&item) var decoded Item msgpack.Unmarshal(b, &decoded) fmt.Println(decoded.Name) }
Debug
Known issues
gotchaVersion 4.0.4+incompatible indicates a major version mismatch; v5 is available.
fix
Use v5 (github.com/vmihailenco/msgpack/v5) for latest features.
affects: 4.x
Upgrade
Version history
4.0.4+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
8
Amazon
1
OpenAI (training)
1
Resources
vmihailenco-msgpack — go get vmihailenco-msgpack · libregistry