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

Method readMapBegin

lib/py/src/protocol/TJSONProtocol.py:442–448  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

440 self.readJSONObjectEnd()
441
442 def readMapBegin(self):
443 self.readJSONArrayStart()
444 keyType = JTYPES[self.readJSONString(False)]
445 valueType = JTYPES[self.readJSONString(False)]
446 size = self.readJSONInteger()
447 self.readJSONObjectStart()
448 return (keyType, valueType, size)
449
450 def readMapEnd(self):
451 self.readJSONObjectEnd()

Callers

nothing calls this directly

Calls 4

readJSONArrayStartMethod · 0.95
readJSONStringMethod · 0.95
readJSONIntegerMethod · 0.95
readJSONObjectStartMethod · 0.95

Tested by

no test coverage detected