| 581 | } |
| 582 | |
| 583 | bool Reader::decodeString(Token& token) { |
| 584 | std::string decoded_string; |
| 585 | if (!decodeString(token, decoded_string)) |
| 586 | return false; |
| 587 | Value decoded(decoded_string); |
| 588 | currentValue().swapPayload(decoded); |
| 589 | return true; |
| 590 | } |
| 591 | |
| 592 | bool Reader::decodeString(Token& token, std::string& decoded) { |
| 593 | decoded.reserve(token.end_ - token.start_ - 2); |
nothing calls this directly
no test coverage detected