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

Method writeJSONObjectStart

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

Source from the content-addressed store, hash-verified

232 self.trans.write(QUOTE)
233
234 def writeJSONObjectStart(self):
235 self.context.write()
236 self.trans.write(LBRACE)
237 self.pushContext(JSONPairContext(self))
238
239 def writeJSONObjectEnd(self):
240 self.popContext()

Callers 2

writeStructBeginMethod · 0.45
writeMapBeginMethod · 0.45

Calls 3

pushContextMethod · 0.95
JSONPairContextClass · 0.70
writeMethod · 0.65

Tested by

no test coverage detected