# ugorji/go

idiomatic codec and rpc lib for msgpack, cbor, json, etc. msgpack.org[Go]

Repository: https://github.com/ugorji/go
Canonical: https://ross.abutalabs.com/products/ugorji-go
Language: Go
License: MIT
License Family: permissive
Last push: 2026-08-12T19:33:22+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 84, longevity 100
- inputs: {"age_days": 4844, "days_push": 21, "days_rel": 29, "gap_med": 76.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1962, forks 312 (observed 2026-08-28T04:05:59.635878+00:00)

## What it is
A high-performance, idiomatic Go codec/encoding library supporting binary and text formats including msgpack, cbor, json, binc, and simple. It also includes the codecgen code-generation tool and benchmarks against other serialization libraries.

## Use cases
- encode and decode msgpack in Go
- serialize structs to cbor
- high performance json encoding for Go
- binary serialization library for Go services
- generate codec methods for Go structs
- compare serialization library benchmarks

## When to choose
- you need fast, feature-rich encoding for msgpack, cbor, or json in Go
- you want a single codec API across multiple binary and text formats
- you need code-generated fast paths for hot serialization code

## When to avoid
- you only need standard library encoding/json with no special formats
- you work outside the Go ecosystem
- you need schema-based IDL serialization like protobuf

## Facets
- artifact type: library
- maturity: stable
- function: serialization, rpc
- domain: developer-tools, apis, backend
- platform: go, cross-platform
- tags: msgpack, cbor, json, codec, encoding, binc, code-generation

## Member repositories
- ugorji/go (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:59.635878+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:05:36.277612+00:00, confidence not recorded.
  - readme: https://github.com/ugorji/go (fetched 2026-08-28T04:05:59.635878+00:00, sha 562147850315)
- Data as of 2026-08-30T08:39:29.467469+00:00.
