bytedance/sonic
A blazingly fast JSON serializing & deserializing library observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 99
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 23
- age_days: 1926
- days_rel: 7
- days_push: 7
- n_releases_24m: 20
Adoption not part of the score
9589 stars · 470 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Sonic is a high-performance JSON serialization and deserialization library for Go, accelerated by JIT compilation and SIMD instructions. It provides runtime object binding without code generation and complete APIs for JSON value manipulation.
Use cases
- serialize and deserialize json in go faster than encoding/json
- parse large json payloads with high throughput
- reduce allocations when marshaling go structs to json
- replace encoding/json in performance-critical api services
- manipulate json values without defining structs
- speed up json encoding in concurrent go applications
When to choose
- your go application is json-bound and profiling shows encoding/json is a bottleneck
- you need to process large or deeply nested json documents at high throughput
- you want drop-in-style fast json handling without code generation steps
- you run on amd64 or arm64 linux, macos, or windows servers
When to avoid
- you need maximum portability to architectures sonic does not support
- your json workloads are tiny and encoding/json performance is sufficient
- you are on an unsupported Go version (e.g., 1.24.0) and cannot adjust build flags
- you prefer a zero-assembly, pure-Go dependency for security or audit reasons
Facets
library · maturity active
serialization parser developer-tools performance apis go windows json jit simd high-performance encoding decoding linux macos
1 source
- readme: https://github.com/bytedance/sonic · fetched 2026-08-28 · bbf77280db86
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| bytedance/sonic | main | 99 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem