Registry / serialization / vmihailenco-msgpack-v5

vmihailenco-msgpack-v5

JSON →
library5.4.1gogounverified

MessagePack encoding and decoding library for Go with support for custom types and streaming.

go get github.com/vmihailenco/msgpack/v5
INSTALL
IMPORT
SIG · VMIHAILENCO-MSGPAC
V
vmihailenco-msgpack-v5
serializationgov5.4.1
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/v5

Marshal and unmarshal a struct to/from MessagePack.

package main import ( "fmt" "github.com/vmihailenco/msgpack/v5" ) func main() { type Item struct { Foo string } b, err := msgpack.Marshal(&Item{Foo: "bar"}) if err != nil { panic(err) } var item Item err = msgpack.Unmarshal(b, &item) if err != nil { panic(err) } fmt.Println(item.Foo) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.4.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources
vmihailenco-msgpack-v5 — go get vmihailenco-msgpack-v5 · libregistry