Registry / serialization / segmentio-encoding

segmentio-encoding

JSON →
library0.5.4gogounverified

A collection of high-performance encoding and decoding packages for Go.

go get github.com/segmentio/encoding
INSTALL
IMPORT
SIG · SEGMENTIO-ENCODING
S
segmentio-encoding
serializationgov0.5.4
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.

encoding
github.com/segmentio/encoding

Marshal a struct to JSON using the segmentio/json package.

package main import ( "fmt" "github.com/segmentio/encoding/json" ) func main() { type Person struct { Name string `json:"name"` } p := Person{Name: "Alice"} data, _ := json.Marshal(p) fmt.Println(string(data)) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
segmentio-encoding — go get segmentio-encoding · libregistry