# stephenberry/glaze

Extremely fast, in memory, serialization, reflection, and RPC library for C++. JSON, BEVE, BSON, CBOR, CSV, JSONB, MessagePack, TOML, YAML, EETF

Repository: https://github.com/stephenberry/glaze
Canonical: https://ross.abutalabs.com/products/glaze
Homepage: https://stephenberry.github.io/glaze/
Language: C++
License: MIT
License Family: permissive
Topics: api, binary, cplusplus, cpp, interface, json, serialization, reflection, header-only, json-rpc2, fast, csv, json-schema, beve, cbor, toml, messagepack, yaml, jsonb, bson
Last push: 2026-08-26T21:22:25+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 1510, "days_push": 7, "days_rel": 16, "gap_med": 6, "n_releases_24m": 88}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2978, forks 269 (observed 2026-08-28T04:07:33.060399+00:00)

## What it is
Glaze is an extremely fast, header-only C++ serialization and reflection library supporting JSON, BEVE, CBOR, BSON, CSV, MessagePack, TOML, YAML, and more, using compile-time reflection to serialize structs without macros or metadata. It also offers an in-development networking layer with REST servers, clients, and websockets.

## Use cases
- serialize C++ structs to JSON without writing boilerplate
- parse JSON files into typed C++ objects
- convert between binary formats like CBOR and MessagePack
- build a fast JSON RPC API in C++
- read CSV data into structs
- generate JSON schemas from C++ types
- high-performance JSON parsing for latency-sensitive applications

## When to choose
- you need one of the fastest JSON libraries available for C++
- you want macro-free serialization via compile-time reflection
- you need support for many formats (JSON, TOML, YAML, CBOR, MessagePack, etc.) in one library
- you want a header-only dependency with no exceptions or RTTI requirements

## When to avoid
- you need a stable, finalized HTTP/REST networking API (it is still under active development)
- your project targets C++ standards older than C++23
- you need runtime-configurable serialization of dynamic schemas rather than static struct reflection

## Facets
- artifact type: library
- maturity: active
- function: serialization, parser, rpc, http-server, http-client, websocket, templating
- domain: developer-tools, apis, backend
- platform: cpp, cross-platform, windows
- tags: header-only, json, reflection, compile-time, binary-formats, high-performance, beve, cbor, messagepack, toml, yaml, csv, bson, json-schema, data-engineering, linux, macos

## Member repositories
- stephenberry/glaze (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:33.060399+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-30T07:31:32.145675+00:00, confidence not recorded.
  - readme: https://github.com/stephenberry/glaze (fetched 2026-08-28T04:07:33.060399+00:00, sha d86bef2362ef)
  - homepage: https://stephenberry.github.io/glaze/ (fetched 2026-08-29T09:46:38.477032+00:00, sha d672e7344752)
- Data as of 2026-08-30T08:39:29.467469+00:00.
