This repository contains the go-codec library, the codecgen tool and
benchmarks for comparing against other libraries.
This is a High Performance, Feature-Rich Idiomatic Go 1.4+ codec/encoding library for binary and text formats: binc, msgpack, cbor, json and simple.
It fully supports the legacy GOPATH and the new go modules modes.
This repository consists of 4 modules:
github.com/ugorji/go(requiresmygithub.libinneed.workers.dev/ugorji/go/codec)github.com/ugorji/go/codec(requiresmygithub.libinneed.workers.dev/ugorji/go) READMEmygithub.libinneed.workers.dev/ugorji/go/codec/codecgen(requiresmygithub.libinneed.workers.dev/ugorji/go/codec) READMEmygithub.libinneed.workers.dev/ugorji/go/codec/bench(requiresmygithub.libinneed.workers.dev/ugorji/go/codec) README
For encoding and decoding, the github.com/ugorji/go/codec module is sufficient.
To install:
go get github.com/ugorji/go/codec
The other modules exist for specific uses, and all require github.com/ugorji/go/codec
github.com/ugorji/gois here for historical compatibility reasons, as modules was initially introduced only at repo rootmygithub.libinneed.workers.dev/ugorji/go/codec/codecgengenerates high performance static encoders/decoders for given typesmygithub.libinneed.workers.dev/ugorji/go/codec/benchbenchmarks codec against other popular go libraries