Registry / serialization / linkedin-goavro-v1

linkedin-goavro-v1

JSON →
library1.0.5gogounverified

A library for encoding and decoding Avro data in Go.

go get gopkg.in/linkedin/goavro.v1
INSTALL
IMPORT
SIG · LINKEDIN-GOAVRO-V1
L
linkedin-goavro-v1
serializationgov1.0.5
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
gopkg.in/linkedin/goavro.v1

Encode an integer to Avro JSON format.

package main import ( "fmt" "gopkg.in/linkedin/goavro.v1" ) func main() { codec, _ := goavro.NewCodec(`{"type": "int"}`) datum, _ := codec.TextualFromNative(nil, 42) fmt.Println(string(datum)) }
Debug
Known issues
gotchaThis is v1 of the library; v2 is available under a different import path.
fix
Use github.com/linkedin/goavro/v2 for the latest version.
affects: >=1.0.0 <2.0.0
Upgrade
Version history
1.0.5latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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