Registry / serialization / linkedin-goavro-v2

linkedin-goavro-v2

JSON →
library2.15.0gogounverified

Package goavro is a library that encodes and decodes Avro data.

go get github.com/linkedin/goavro/v2
INSTALL
IMPORT
SIG · LINKEDIN-GOAVRO-V2
L
linkedin-goavro-v2
serializationgov2.15.0
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.

goavro
github.com/linkedin/goavro/v2

Encodes a JSON Avro record to binary

package main import ( "fmt" "github.com/linkedin/goavro/v2" ) func main() { codec, err := goavro.NewCodec(`{"type":"record","name":"test","fields":[{"name":"x","type":"int"}]}`) if err != nil { panic(err) } binary, _, _ := codec.NativeFromTextual([]byte(`{"x": 42}`)) fmt.Println(binary) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
linkedin-goavro-v2 — go get linkedin-goavro-v2 · libregistry