Skip to content
callcount

package

encoding/json

standard library

18 standard-library functions from encoding/json, ranked by how often they are called outside tests and generated code.

Docs on pkg.go.dev ↗

prod calls
269,953
non-test, non-generated
all calls
368,938
total callsites
functions
18
ranked in this snapshot
origin
std
standard-library

members

Functions in encoding/json

Ranked by production calls. The bar scales each function against the busiest in this package.

Function Prod calls
Unmarshal 174,642
Marshal 70,258
Decoder.Decode 5,409
NewDecoder 5,120
MarshalIndent 4,400
Encoder.Encode 3,571
NewEncoder 3,447
Encoder.SetIndent 679
Decoder.UseNumber 366
Number.Int64 301
Decoder.Token 298
Encoder.SetEscapeHTML 282
Valid 246
Number.Float64 219
Number.String 212
Decoder.DisallowUnknownFields 184
Decoder.More 181
Indent 138