MCPcopy Create free account
hub / github.com/apache/thrift / WriteMapEnd

Method WriteMapEnd

lib/go/thrift/json_protocol.go:141–146  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

139}
140
141func (p *TJSONProtocol) WriteMapEnd(ctx context.Context) error {
142 if e := p.OutputObjectEnd(); e != nil {
143 return e
144 }
145 return p.OutputListEnd()
146}
147
148func (p *TJSONProtocol) WriteListBegin(ctx context.Context, elemType TType, size int) error {
149 return p.OutputElemListBegin(elemType, size)

Callers 1

TestWriteJSONProtocolMapFunction · 0.95

Calls 2

OutputObjectEndMethod · 0.80
OutputListEndMethod · 0.80

Tested by 1

TestWriteJSONProtocolMapFunction · 0.76