tidwall/sjson
Set JSON values very quickly in Go observed · 2026-08-28
Health v2 · maintenance only
70/100
- Activity 83
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: n/a
- age_days: 3606
- days_rel: n/a
- days_push: 106
- n_releases_24m: 0
Adoption not part of the score
2737 stars · 185 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
SJSON is a fast Go library for setting values in JSON documents using dot-syntax paths. It is the write-side companion to GJSON, which handles fast JSON reads.
Use cases
- set a nested value in a document in go
- modify without unmarshalling into structs
- append items to a array quickly
- update payloads in an api handler
- build documents programmatically with paths
- patch strings at high throughput
When to choose
- you need to mutate well-formed JSON in Go with minimal allocations
- you already use GJSON and want matching write capabilities
- performance matters more than full struct-based serialization
When to avoid
- you need validation of malformed JSON input
- you prefer working with typed Go structs via encoding/
- you need a CLI for JSON editing (use JJ instead)
Facets
library · maturity stable
serialization developer-tools developer-tools backend apis go cross-platform -manipulation path-syntax performance g-companion
1 source
- readme: https://github.com/tidwall/sjson · fetched 2026-08-28 · 87c792d8f623
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tidwall/sjson | main | 70 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem