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

Method OutputListBegin

lib/go/thrift/simple_json_protocol.go:785–794  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

783}
784
785func (p *TSimpleJSONProtocol) OutputListBegin() error {
786 if e := p.OutputPreValue(); e != nil {
787 return e
788 }
789 if _, e := p.write(JSON_LBRACKET); e != nil {
790 return NewTProtocolException(e)
791 }
792 p.dumpContext.push(_CONTEXT_IN_LIST_FIRST)
793 return nil
794}
795
796func (p *TSimpleJSONProtocol) OutputListEnd() error {
797 if _, e := p.write(JSON_RBRACKET); e != nil {

Callers 6

WriteMessageBeginMethod · 0.95
WriteMapBeginMethod · 0.95
OutputElemListBeginMethod · 0.95
WriteMessageBeginMethod · 0.80
WriteMapBeginMethod · 0.80
OutputElemListBeginMethod · 0.80

Calls 4

OutputPreValueMethod · 0.95
writeMethod · 0.95
NewTProtocolExceptionFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected