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

Method WriteFieldBegin

lib/go/thrift/simple_json_protocol.go:245–250  ·  view source on GitHub ↗
(ctx context.Context, name string, typeId TType, id int16)

Source from the content-addressed store, hash-verified

243}
244
245func (p *TSimpleJSONProtocol) WriteFieldBegin(ctx context.Context, name string, typeId TType, id int16) error {
246 if e := p.WriteString(ctx, name); e != nil {
247 return e
248 }
249 return nil
250}
251
252func (p *TSimpleJSONProtocol) WriteFieldEnd(ctx context.Context) error {
253 return nil

Callers

nothing calls this directly

Calls 1

WriteStringMethod · 0.95

Tested by

no test coverage detected