# francoispqt/gojay

high performance JSON encoder/decoder with stream API for Golang

Repository: https://github.com/francoispqt/gojay
Canonical: https://ross.abutalabs.com/products/gojay
Language: Go
License: MIT
License Family: permissive
Topics: go, golang, decoder, encoder, perfomance, json, stream-decoder, stream-processing
Last push: 2023-11-22T16:50:12+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3052, "days_push": 1015, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2133, forks 112 (observed 2026-08-28T04:06:17.352748+00:00)

## What it is
GoJay is a high-performance JSON encoder/decoder library for Go that avoids reflection by using small interfaces, with support for stream decoding/encoding of delimited JSON from io.Reader/io.Writer. It also includes an optional unsafe API and a code generation tool to reduce boilerplate.

## Use cases
- decode  faster than encoding/
- parse newline-delimited  streams from tcp or stdout
- encode a flow of  objects to a writer
- reduce allocations in  marshaling
- generate  marshaler code for structs
- parse large  files incrementally

## When to avoid
- you just need simple, standard  handling and prefer encoding/ compatibility
- you want a library with frequent updates and active maintenance
- you rely on reflection-based generic marshaling of arbitrary structs

## Facets
- artifact type: library
- maturity: maintenance
- function: serialization, parser, streaming
- domain: developer-tools, apis
- platform: go, cross-platform
- tags: zero-reflection, stream-decoding, code-generation, performance, data-engineering

## Member repositories
- francoispqt/gojay (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:17.352748+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-30T02:51:58.471501+00:00, confidence not recorded.
  - readme: https://github.com/francoispqt/gojay (fetched 2026-08-28T04:06:17.352748+00:00, sha 44fe68479b90)
- Data as of 2026-08-30T08:39:29.467469+00:00.
