encoding/json.Unmarshal
standard libraryThe 27th most-called standard-library function by production calls. Called 1,020 times across 214 modules; 804 of those run outside tests and generated code.
- prod calls
- 804
- non-test, non-generated
- all calls
- 1,020
- total callsites
- modules
- 214
- distinct callers
- in loop
- 18%
- of prod calls
- in tests
- 13%
- 133 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 →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into Unmarshal from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 418 52%
- HashiCorp 257 32%
- Docker 241 30%
- Go (golang.org/x) 225 28%
where it's called
Callsites in the wild
6 representative callsites of 1,020, prioritizing in-loop and non-test usage. We link to source, never display it.
-
fatih/color @v1.16.0
in loop -
fatih/color @v1.16.0
in loop -
-
-
stretchr/testify @v1.9.0
- test
top callers
The modules that reach for it
The modules that call Unmarshal most in this snapshot.
- github.com/stretchr/testify31831%
- github.com/fatih/color15415%
- github.com/prometheus/prometheus495%
siblings
More from encoding/json
The other most-called functions in this package. See all →