MCPcopy Index your code
hub / github.com/protocolbuffers/protobuf-go / StartObject

Method StartObject

internal/encoding/json/encode.go:191–194  ·  view source on GitHub ↗

StartObject writes out the '{' symbol.

()

Source from the content-addressed store, hash-verified

189
190// StartObject writes out the '{' symbol.
191func (e *Encoder) StartObject() {
192 e.prepareNext(objectOpen)
193 e.out = append(e.out, '{')
194}
195
196// EndObject writes out the '}' symbol.
197func (e *Encoder) EndObject() {

Callers 5

marshalAnyMethod · 0.80
marshalEmptyMethod · 0.80
marshalMessageMethod · 0.80
marshalMapMethod · 0.80
TestEncoderFunction · 0.80

Calls 1

prepareNextMethod · 0.95

Tested by 1

TestEncoderFunction · 0.64