| 281 | |
| 282 | template<class Stream> |
| 283 | bool JsonSkipper<Stream>::SkipNull() { |
| 284 | DCHECK(s_.Peek() == 'n'); |
| 285 | s_.Take(); |
| 286 | ERROR_IF_FALSE(Consume('u'), kParseErrorValueInvalid); |
| 287 | ERROR_IF_FALSE(Consume('l'), kParseErrorValueInvalid); |
| 288 | ERROR_IF_FALSE(Consume('l'), kParseErrorValueInvalid); |
| 289 | return true; |
| 290 | } |
| 291 | |
| 292 | template<class Stream> |
| 293 | bool JsonSkipper<Stream>::SkipTrue() { |