stephenberry/glaze
Extremely fast, in memory, serialization, reflection, and RPC library for C++. JSON, BEVE, BSON, CBOR, CSV, JSONB, MessagePack, TOML, YAML, EETF observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 86
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 6
- age_days: 1510
- days_rel: 16
- days_push: 7
- n_releases_24m: 88
Adoption not part of the score
2978 stars · 269 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
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
library · maturity active
serialization parser rpc http-server http-client websocket templating developer-tools apis backend cpp cross-platform windows header-only json reflection compile-time binary-formats high-performance beve cbor messagepack toml yaml csv bson json-schema data-engineering linux macos
2 sources
- readme: https://github.com/stephenberry/glaze · fetched 2026-08-28 · d86bef2362ef
- homepage: https://stephenberry.github.io/glaze/ · fetched 2026-08-29 · d672e7344752
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| stephenberry/glaze | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="stephenberry/glaze")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem