github.com/go-json-experiment/json/jsontext.Encoder.WriteToken
third-partyThe 5710th most-called third-party method by production calls. Called 2,176 times across 6 modules; 103 of those run outside tests and generated code.
All of github.com/go-json-experiment/json/jsontext → Docs on pkg.go.dev ↗
- prod calls
- 103
- non-test, non-generated
- all calls
- 2,176
- total callsites
- modules
- 6
- distinct callers
- in loop
- 9%
- of prod calls
- in tests
- 1%
- 30 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.WriteToken from notable Go projects. Open one on the map to see what else it hammers.
- Tailscale 6 6%
where it's called
Callsites in the wild
12 representative callsites of 2,176, prioritizing in-loop and non-test usage. We link to source, never display it.
-
go-json-experiment/json @v0.0.0-20260623181947-01eb4420fa68
in loop -
go.lsp.dev/protocol @v1.0.1
codec_helpers.go:409
in loop -
go-json-experiment/json @v0.0.0-20260623181947-01eb4420fa68
in loop -
go.lsp.dev/protocol @v1.0.1
codec_helpers.go:421
in loop -
go-json-experiment/json @v0.0.0-20260623181947-01eb4420fa68
in loop -
go-json-experiment/json @v0.0.0-20260623181947-01eb4420fa68
in loop -
go-json-experiment/json @v0.0.0-20260623181947-01eb4420fa68
in loop -
go-json-experiment/json @v0.0.0-20260623181947-01eb4420fa68
in loop -
go-json-experiment/json @v0.0.0-20260623181947-01eb4420fa68
in loop -
go-json-experiment/json @v0.0.0-20260623181947-01eb4420fa68
in loop test -
go-json-experiment/json @v0.0.0-20260623181947-01eb4420fa68
in loop test -
go-json-experiment/json @v0.0.0-20260623181947-01eb4420fa68
in loop test
top callers
The modules that reach for it
The modules that call Encoder.WriteToken most in this snapshot.
- go.lsp.dev/protocol2,08696%
- github.com/go-json-experiment/json663%
- github.com/microsoft/typescript-go6<1%
- github.com/sagernet/tailscale6<1%
- github.com/tailscale/tailscale6<1%
siblings
More from github.com/go-json-experiment/json/jsontext
The other most-called members in this package. See all →