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

Method readJSONNumericChars

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

Source from the content-addressed store, hash-verified

329 self.readJSONSyntaxChar(QUOTE)
330
331 def readJSONNumericChars(self):
332 numeric = []
333 while True:
334 character = self.reader.peek()
335 if self.isJSONNumeric(character) is False:
336 break
337 numeric.append(self.reader.read())
338 return b''.join(numeric).decode('ascii')
339
340 def readJSONInteger(self):
341 self.context.read()

Callers 2

readJSONIntegerMethod · 0.95
readJSONDoubleMethod · 0.95

Calls 6

isJSONNumericMethod · 0.95
readMethod · 0.65
peekMethod · 0.45
appendMethod · 0.45
decodeMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected