| 269 | |
| 270 | template<class Stream> |
| 271 | bool 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 | |
| 282 | template<class Stream> |
| 283 | bool JsonSkipper<Stream>::SkipNull() { |
no test coverage detected