package
encoding/json
standard library18 standard-library functions from encoding/json, ranked by how often they are called outside tests and generated code.
- prod calls
- 265,601
- non-test, non-generated
- all calls
- 367,683
- 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 | 172,212 |
| Marshal | 69,401 |
| Decoder.Decode | 5,190 |
| NewDecoder | 4,945 |
| MarshalIndent | 4,264 |
| Encoder.Encode | 3,452 |
| NewEncoder | 3,330 |
| Encoder.SetIndent | 669 |
| Decoder.UseNumber | 317 |
| Number.Int64 | 285 |
| Encoder.SetEscapeHTML | 257 |
| Decoder.Token | 237 |
| Valid | 203 |
| Number.Float64 | 201 |
| Number.String | 188 |
| Decoder.More | 159 |
| Decoder.DisallowUnknownFields | 155 |
| Indent | 136 |