encoding/json.Encoder.SetEscapeHTML
standard libraryThe 2388th most-called standard-library method by production calls. Called 300 times across 142 modules; 257 of those run outside tests and generated code.
3% in production calls vs 2026-W37 (250 → 257)
- prod calls
- 257
- non-test, non-generated
- all calls
- 300
- total callsites
- modules
- 142
- distinct callers
- in loop
- 2%
- of prod calls
- in tests
- 14%
- 43 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.SetEscapeHTML from notable Go projects. Open one on the map to see what else it hammers.
- Docker 8 3%
- Hugo 5 2%
- Kubernetes 5 2%
- Grafana 4 2%
- Authelia 3 1%
where it's called
Callsites in the wild
12 representative callsites of 300, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
gogf/gf @v1.16.9
in loop - in loop
-
slimtoolkit/slim @v0.0.0-20260919234058-976805241c00
in loop - in loop
-
slimtoolkit/slim @v0.0.0-20260919234058-976805241c00
in loop - in loop test
- in loop test
-
-
-
log/v2 @v2.0.1
json.go:146
-
top callers
The modules that reach for it
The modules that call Encoder.SetEscapeHTML most in this snapshot.
- github.com/slimtoolkit/slim176%
- github.com/anchore/grype124%
- github.com/vitessio/vitess114%
- vitess.io/vitess114%
- github.com/larksuite/cli93%
siblings
More from encoding/json
The other most-called members in this package. See all →