MCPcopy Create free account
hub / github.com/apache/impala / SkipNextObject

Method SkipNextObject

be/src/exec/json/json-parser.cc:271–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269
270template<class Stream>
271bool JsonSkipper<Stream>::SkipNextObject() {
272 code_ = kParseErrorNone;
273 while (true) {
274 SkipWhitespace();
275 ERROR_IF_FALSE(s_.Peek() != '\0', kParseErrorDocumentEmpty);
276 bool is_object = (s_.Peek() == '{');
277 RETURN_IF_FALSE(SkipValue());
278 if (LIKELY(is_object)) return true;
279 }
280}
281
282template<class Stream>
283bool JsonSkipper<Stream>::SkipNull() {

Callers 1

CountJsonObjectsMethod · 0.80

Calls 2

SkipWhitespaceClass · 0.85
PeekMethod · 0.45

Tested by

no test coverage detected