| 753 | } |
| 754 | |
| 755 | bool Reader::decodeString(Token& token) { |
| 756 | std::string decoded_string; |
| 757 | if (!decodeString(token, decoded_string)) |
| 758 | return false; |
| 759 | Value decoded(decoded_string); |
| 760 | currentValue().swapPayload(decoded); |
| 761 | return true; |
| 762 | } |
| 763 | |
| 764 | bool Reader::decodeString(Token& token, std::string& decoded) { |
| 765 | decoded.reserve(token.end_ - token.start_ - 2); |
nothing calls this directly
no test coverage detected