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
- 266,047
- non-test, non-generated
- all calls
- 361,957
- 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,393 |
| Marshal | 69,526 |
| Decoder.Decode | 5,217 |
| NewDecoder | 4,962 |
| MarshalIndent | 4,313 |
| Encoder.Encode | 3,462 |
| NewEncoder | 3,340 |
| Encoder.SetIndent | 669 |
| Decoder.UseNumber | 320 |
| Number.Int64 | 286 |
| Encoder.SetEscapeHTML | 258 |
| Decoder.Token | 247 |
| Number.Float64 | 203 |
| Valid | 202 |
| Number.String | 188 |
| Decoder.More | 163 |
| Decoder.DisallowUnknownFields | 160 |
| Indent | 138 |