encoding/json.Encoder.SetIndent
standard libraryThe 1040th most-called standard-library method by production calls. Called 747 times across 188 modules; 679 of those run outside tests and generated code.
0% in production calls vs 2026-W48 (677 → 679)
- prod calls
- 679
- non-test, non-generated
- all calls
- 747
- total callsites
- modules
- 188
- distinct callers
- in loop
- 1%
- of prod calls
- in tests
- 9%
- 67 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Concrete method100%A method on a value whose type is known exactly.
who calls this
Notable callers
Production calls into Encoder.SetIndent from notable Go projects. Open one on the map to see what else it hammers.
- Tailscale 29 4%
- Grafana 13 2%
- Kubernetes 10 1%
- Authelia 9 1%
- Docker 5 <1%
where it's called
Callsites in the wild
12 representative callsites of 747, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
dagger/dagger @v0.21.12
in loop - in loop
-
gogf/gf @v1.16.9
in loop -
passteque/gluetun @v0.0.0-20261120162833-eb3c7ec79d94
in loop -
tailscale/tailscale @v1.106.1
in loop -
tailscale.com @v1.106.1
tstest/mts/mts.go:123
in loop -
cli/cli @v1.14.0
in loop test -
a-h/templ @v0.3.1118
in loop test - in loop test
- in loop test
-
nix-community/go-nix @v0.0.0-20250101154619-4bdde671e0a1
in loop test
top callers
The modules that reach for it
The modules that call Encoder.SetIndent most in this snapshot.
- github.com/gastownhall/gastown9212%
- github.com/steveyegge/gastown9212%
- github.com/gastownhall/beads365%
- github.com/steveyegge/beads365%
- github.com/tailscale/tailscale294%
siblings
More from encoding/json
The other most-called members in this package. See all →