Registry / serialization / vmihailenco-msgpack-v4

vmihailenco-msgpack-v4

JSON →
library4.3.13gogounverified

A Go library for encoding and decoding data in MessagePack format, version 4.

go get github.com/vmihailenco/msgpack/v4
INSTALL
IMPORT
SIG · VMIHAILENCO-MSGPAC
V
vmihailenco-msgpack-v4
serializationgov4.3.13
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/v4

Marshal and unmarshal a struct using msgpack.

package main import ( "fmt" "github.com/vmihailenco/msgpack/v4" ) 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
4.3.13latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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