encoding/json.Encoder.Encode (method)
7 uses
encoding/json (current package)
stream.go#L201: func (enc *Encoder) Encode(v interface{}) error {
golang.org/x/pkgsite/internal/config
config.go#L549: return enc.Encode(c)
golang.org/x/pkgsite/internal/frontend
playground.go#L65: json.NewEncoder(w).Encode(resp)
golang.org/x/pkgsite/internal/index
test_helper.go#L35: json.NewEncoder(w).Encode(versions[i])
google.golang.org/api/googleapi
googleapi.go#L104: if err := enc.Encode(e.Details); err == nil {
googleapi.go#L194: err := json.NewEncoder(buf).Encode(v)
googleapi.go#L346: err := json.NewEncoder(&buf).Encode(v)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |