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

Class JSONBaseContext

lib/py/src/protocol/TJSONProtocol.py:89–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87
88
89class JSONBaseContext(object):
90
91 def __init__(self, protocol):
92 self.protocol = protocol
93 self.first = True
94
95 def doIO(self, function):
96 pass
97
98 def write(self):
99 pass
100
101 def read(self):
102 pass
103
104 def escapeNum(self):
105 return False
106
107 def __str__(self):
108 return self.__class__.__name__
109
110
111class JSONListContext(JSONBaseContext):

Callers 2

resetWriteContextMethod · 0.70
popContextMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected