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

Method writeMapBegin

lib/py/src/protocol/TJSONProtocol.py:519–524  ·  view source on GitHub ↗
(self, ktype, vtype, size)

Source from the content-addressed store, hash-verified

517 pass
518
519 def writeMapBegin(self, ktype, vtype, size):
520 self.writeJSONArrayStart()
521 self.writeJSONString(CTYPES[ktype])
522 self.writeJSONString(CTYPES[vtype])
523 self.writeJSONNumber(size)
524 self.writeJSONObjectStart()
525
526 def writeMapEnd(self):
527 self.writeJSONObjectEnd()

Callers

nothing calls this directly

Calls 4

writeJSONArrayStartMethod · 0.95
writeJSONStringMethod · 0.95
writeJSONObjectStartMethod · 0.95
writeJSONNumberMethod · 0.80

Tested by

no test coverage detected