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

Method readJSONNumericChars

lib/php/lib/Protocol/TJSONProtocol.php:327–342  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

325 }
326
327 private function readJSONNumericChars()
328 {
329 $strbld = array();
330
331 while (true) {
332 $ch = $this->reader_->peek();
333
334 if (!$this->isJSONNumeric($ch)) {
335 break;
336 }
337
338 $strbld[] = $this->reader_->read();
339 }
340
341 return implode("", $strbld);
342 }
343
344 private function readJSONInteger()
345 {

Callers 3

readJSONIntegerMethod · 0.95
readJSONDoubleMethod · 0.95

Calls 3

isJSONNumericMethod · 0.95
readMethod · 0.65
peekMethod · 0.45

Tested by

no test coverage detected