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

Method WriteStructBegin

lib/go/thrift/json_protocol.go:83–88  ·  view source on GitHub ↗
(ctx context.Context, name string)

Source from the content-addressed store, hash-verified

81}
82
83func (p *TJSONProtocol) WriteStructBegin(ctx context.Context, name string) error {
84 if e := p.OutputObjectBegin(); e != nil {
85 return e
86 }
87 return nil
88}
89
90func (p *TJSONProtocol) WriteStructEnd(ctx context.Context) error {
91 return p.OutputObjectEnd()

Callers

nothing calls this directly

Calls 1

OutputObjectBeginMethod · 0.80

Tested by

no test coverage detected