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

Method OutputNull

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

Source from the content-addressed store, hash-verified

686}
687
688func (p *TSimpleJSONProtocol) OutputNull() error {
689 if e := p.OutputPreValue(); e != nil {
690 return e
691 }
692 if _, e := p.write(JSON_NULL); e != nil {
693 return NewTProtocolException(e)
694 }
695 return p.OutputPostValue()
696}
697
698func (p *TSimpleJSONProtocol) OutputF64(value float64) error {
699 if e := p.OutputPreValue(); e != nil {

Callers

nothing calls this directly

Calls 4

OutputPreValueMethod · 0.95
writeMethod · 0.95
OutputPostValueMethod · 0.95
NewTProtocolExceptionFunction · 0.85

Tested by

no test coverage detected