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

Method readJSONSyntaxChar

lib/php/lib/Protocol/TJSONProtocol.php:196–203  ·  view source on GitHub ↗
($b)

Source from the content-addressed store, hash-verified

194 }
195
196 public function readJSONSyntaxChar($b)
197 {
198 $ch = $this->reader_->read();
199
200 if (substr($ch, 0, 1) != $b) {
201 throw new TProtocolException("Unexpected character: " . $ch, TProtocolException::INVALID_DATA);
202 }
203 }
204
205 private function writeJSONString($b)
206 {

Callers 9

readJSONIntegerMethod · 0.95
readJSONDoubleMethod · 0.95
readJSONObjectStartMethod · 0.95
readJSONObjectEndMethod · 0.95
readJSONArrayStartMethod · 0.95
readJSONArrayEndMethod · 0.95
readMethod · 0.45
readMethod · 0.45

Calls 1

readMethod · 0.65

Tested by

no test coverage detected