encoding/json.Decoder.Token
standard libraryThe 3236th most-called standard-library method by production calls. Called 2,044 times across 69 modules; 183 of those run outside tests and generated code.
- prod calls
- 183
- non-test, non-generated
- all calls
- 2,044
- total callsites
- modules
- 69
- distinct callers
- in loop
- 34%
- of prod calls
- in tests
- <1%
- 17 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 Decoder.Token from notable Go projects. Open one on the map to see what else it hammers.
- OpenTelemetry 18 10%
- Cilium 4 2%
- Docker 3 2%
- Kubernetes 3 2%
- VictoriaMetrics 3 2%
where it's called
Callsites in the wild
12 representative callsites of 2,044, prioritizing in-loop and non-test usage. We link to source, never display it.
-
cli/cli @v1.14.0
in loop - in loop
- in loop
- in loop
- in loop
-
dop251/goja @v0.0.0-20260723142020-b4aef50fa347
in loop -
duckdb/duckdb-go/v2 @v2.10505.0
in loop - in loop
- in loop
- in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call Decoder.Token most in this snapshot.
- github.com/elastic/go-elasticsearch/v81,83190%
- go.opentelemetry.io/otel/trace18<1%
- go.uber.org/thriftrw18<1%
- github.com/lestrrat-go/jwx12<1%
- github.com/esengine/DeepSeek-Reasonix10<1%
siblings
More from encoding/json
The other most-called members in this package. See all →