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

Method EndObject

internal/encoding/json/encode.go:197–200  ·  view source on GitHub ↗

EndObject writes out the '}' symbol.

()

Source from the content-addressed store, hash-verified

195
196// EndObject writes out the '}' symbol.
197func (e *Encoder) EndObject() {
198 e.prepareNext(objectClose)
199 e.out = append(e.out, '}')
200}
201
202// WriteName writes out the given string in JSON string value and the name
203// separator ':'. Returns error if input string contains invalid UTF-8, which

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