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

Method writeJSONArrayStart

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

Source from the content-addressed store, hash-verified

241 self.trans.write(RBRACE)
242
243 def writeJSONArrayStart(self):
244 self.context.write()
245 self.trans.write(LBRACKET)
246 self.pushContext(JSONListContext(self))
247
248 def writeJSONArrayEnd(self):
249 self.popContext()

Callers 1

_writeCollectionBeginMethod · 0.45

Calls 3

pushContextMethod · 0.95
JSONListContextClass · 0.70
writeMethod · 0.65

Tested by

no test coverage detected