Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ugorji/go
idiomatic codec and rpc lib for msgpack, cbor, json, etc. msgpack.org[Go]
https://github.com/ugorji/go
Last synced: 2 days ago
JSON representation
idiomatic codec and rpc lib for msgpack, cbor, json, etc. msgpack.org[Go]
- Host: GitHub
- URL: https://github.com/ugorji/go
- Owner: ugorji
- License: mit
- Created: 2013-05-30T02:13:13.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-03-07T21:48:17.000Z (9 months ago)
- Last Synced: 2024-10-29T15:10:48.481Z (about 1 month ago)
- Language: Go
- Homepage:
- Size: 5.76 MB
- Stars: 1,857
- Watchers: 52
- Forks: 295
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go - go-codec - High Performance, feature-Rich, idiomatic encode, decode and rpc library for msgpack, cbor and json, with runtime-based OR code-generation support. (Serialization / HTTP Clients)
- zero-alloc-awesome-go - go-codec - High Performance, feature-Rich, idiomatic encode, decode and rpc library for msgpack, cbor and json, with runtime-based OR code-generation support. (Serialization / HTTP Clients)
- go-awesome - go/codec - supports msgpack/binc/cbor/json (Open source library / Serialization)
- awesome-go - go-codec - High Performance, feature-Rich, idiomatic encode, decode and rpc library for msgpack, cbor and json, with runtime-based OR code-generation support. Stars:`1.9K`. (Serialization / HTTP Clients)
- awesome-go - go - idiomatic codec and rpc lib for msgpack, cbor, json, etc. msgpack.org[Go] - ★ 1034 (Serialization)
- awesome-go-extra - go - 05-30T02:13:13Z|2022-08-25T18:54:56Z| (Serialization / HTTP Clients)
- awesome-go-zh - go-codec
README
[![Sourcegraph](https://sourcegraph.com/github.com/ugorji/go/-/badge.svg?v=4)](https://sourcegraph.com/github.com/ugorji/go/-/tree/codec?badge)
[![Build and Test go-codec](https://github.com/ugorji/go/actions/workflows/test.yml/badge.svg)](https://github.com/ugorji/go/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/ugorji/go/branch/master/graph/badge.svg?v=4)](https://codecov.io/gh/ugorji/go)
[![Go Reference](https://pkg.go.dev/badge/github.com/ugorji/go/codec.svg)](https://pkg.go.dev/github.com/ugorji/go/codec)
[![rcard](https://goreportcard.com/badge/github.com/ugorji/go/codec?v=4)](https://goreportcard.com/report/github.com/ugorji/go/codec)
[![License](http://img.shields.io/badge/license-mit-blue.svg?style=flat-square)](https://raw.githubusercontent.com/ugorji/go/master/LICENSE)# go-codec
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.
## Code Organization and Module Support
This repository consists of 4 modules:
- `github.com/ugorji/go/codec` [README](codec/README.md)
- `github.com/ugorji/go/codec/codecgen` (requires `github.com/ugorji/go/codec`) [README](codec/codecgen/README.md)
- `github.com/ugorji/go/codec/bench` (requires `github.com/ugorji/go/codec`) [README](codec/bench/README.md)
- `github.com/ugorji/go` (requires `github.com/ugorji/go/codec`)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/go/codec/codecgen` generates high performance static encoders/decoders for given types
- `github.com/ugorji/go/codec/bench` benchmarks codec against other popular go libraries
- `github.com/ugorji/go` is here for [historical compatibility reasons, as modules was initially introduced only at repo root](https://github.com/ugorji/go/issues/299)