google.golang.org/protobuf/encoding/protojson.encoder.marshalSingular (method)
6 uses
google.golang.org/protobuf/encoding/protojson (current package)
encode.go#L228: return e.marshalSingular(val, fd)
encode.go#L234: func (e encoder) marshalSingular(val pref.Value, fd pref.FieldDescriptor) error {
encode.go#L301: if err := e.marshalSingular(item, fd); err != nil {
encode.go#L331: if err := e.marshalSingular(entry.value, fd.MapValue()); err != nil {
well_known_types.go#L406: return e.marshalSingular(val, fd)
well_known_types.go#L497: return e.marshalSingular(m.Get(fd), fd)
![]() |
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. |