| 108 | |
| 109 | template <typename SAX> |
| 110 | sonic_force_inline bool parseFalse(SAX &sax) { |
| 111 | const static uint32_t kFalseBin = |
| 112 | 0x65736c61; // the binary of 'alse' in false |
| 113 | if (internal::EqBytes4(json_buf_ + pos_, kFalseBin)) { |
| 114 | pos_ += 4; |
| 115 | return sax.Bool(false); |
| 116 | } |
| 117 | setParseError(kParseErrorInvalidChar); |
| 118 | return false; |
| 119 | } |
| 120 | |
| 121 | template <typename SAX> |
| 122 | sonic_force_inline bool parseTrue(SAX &sax) { |