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

Method ReadMapEnd

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

Source from the content-addressed store, hash-verified

328}
329
330func (p *TJSONProtocol) ReadMapEnd(ctx context.Context) error {
331 e := p.ParseObjectEnd()
332 if e != nil {
333 return e
334 }
335 return p.ParseListEnd()
336}
337
338func (p *TJSONProtocol) ReadListBegin(ctx context.Context) (elemType TType, size int, e error) {
339 return p.ParseElemListBegin()

Callers 1

TestWriteJSONProtocolMapFunction · 0.95

Calls 2

ParseObjectEndMethod · 0.80
ParseListEndMethod · 0.80

Tested by 1

TestWriteJSONProtocolMapFunction · 0.76